Bug 324344 - version 0.0.0 for .target resolves to '0 plug-ins available' when newer plug-ins are available in other software sites
Summary: version 0.0.0 for .target resolves to '0 plug-ins available' when newer plug-...
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 324336
Blocks:
  Show dependency tree
 
Reported: 2010-09-02 15:33 EDT by Curtis Windatt CLA
Modified: 2011-03-14 16:54 EDT (History)
6 users (show)

See Also:


Attachments
Possible Fix (1.74 KB, patch)
2010-09-02 17:05 EDT, Curtis Windatt CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2010-09-02 15:33:00 EDT
+++ This bug was initially created as a clone of Bug #324336 +++

Build Identifier: M20100901-1310

I just updated to 3.6.1 because of Bug 320583 - Target platform gets out of sync at each Eclipse restart. Now the .target file, which could be resolved using 3.6.0 without a problem, resolves to '0 plug-ins available'.

It might be because the .target still wants to use the 3.6.0 features, but I don't see anything wrong with such a request.

Reproducible: Always

Steps to Reproduce:
Open the attached rcp.target platform, wait till it's resolved, says '0 plug-ins available'.
Comment 1 Curtis Windatt CLA 2010-09-02 17:05:41 EDT
Created attachment 178101 [details]
Possible Fix
Comment 2 Curtis Windatt CLA 2010-09-02 17:15:40 EDT
The attached fix does the following:

If an error status is returned, report it
If a warning status is returned and result is empty, report it
If a warning status is returned and result is not empty, continue

It would be better if we can display both the status and the result (if there was one).  However, the current structure of AbstractBundleContainer does not allow this.
Comment 3 Curtis Windatt CLA 2011-03-14 16:54:11 EDT
Fixed in HEAD (slightly different than the attached patch because of the change in the IU container's structure).  See IUBundleContainer.java