This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 230621 - Plugins under validation are not correctly handled
Summary: Plugins under validation are not correctly handled
Status: NEW
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jan Pirek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-02 16:12 UTC by ent38
Modified: 2013-06-03 11:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshots (149.70 KB, image/png)
2013-06-02 16:21 UTC, ent38
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ent38 2013-06-02 16:12:57 UTC
Problem when a plugin is updated on PluginPortal and still under validation:

Example with my plugin: http://plugins.netbeans.org/plugin/48570/?show=true

Previous version is 1.1.1 and contains 3 modules.
New version 1.2.0 is uploaded and under validation, and contains 4 modules (3 are updated, and 1 is new).

Try to install plugin from Neteans Plugins Manager: it shows 1.1.1 version (the 3 modules) but it downloads the updated versions of these 3 modules. Problem: the 4th module (from 1.2.0) is not downloaded and the entire plugin installation fails due to dependencies.
NetBeans asks for modules deactivation, otherwise  it cannot start.

I've tried to host my own update center with updated plugin modules: no problem.
The bug happens only when a plugin is under validation.

Verified on NB 7.0 on Win7 and Ubuntu 13.04, JDK7.
Comment 1 ent38 2013-06-02 16:21:16 UTC
Created attachment 135227 [details]
Screenshots

Screenshots
Comment 2 ent38 2013-06-02 16:26:55 UTC
Verified on NB 7.3.0, not 7.0, of course.
Comment 3 Jiri Kovalsky 2013-06-03 11:21:29 UTC
Hello Jonathan,

let me summarize the not working scenario.

1. I create a plugin (*.zip) consisting of two NBM files (a.nbm and b.nbm) with OpenIDE-Module-Specification-Version="1.0".
2. It gets approved which automatically publishes the plugin on Experimental Plugin Portal Update Center (EPPUC).
3. The 1.0 plugin is verified so users can install it from the Plugin Portal Update Center (PPUC).
4. I upload new *.zip binary of the plugin containing three NBM files (a.nbm, b.nbm and c.nbm) with OpenIDE-Module-Specification-Version="1.1".
5. The plugin is now available this way: PPUC: 1.0 and EPPUC: 1.1.
6. I request new verification of the plugin.
7. Now you say that when users decide to download 1.0 version of my plugin from PPUC, they will download a.nbm:1.1, b.nbm:1.1?

Thanks for your clarification!
-Jirka
Comment 4 ent38 2013-06-03 11:39:36 UTC
Hi,
Yes, it is exactly this scenario.
Comment 5 Jiri Kovalsky 2013-06-03 11:49:35 UTC
Honzo, can you please take a look at this? Version-to-be-yet-verified should not show up on the live PPUC. Thanks!