Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324344

Summary: version 0.0.0 for .target resolves to '0 plug-ins available' when newer plug-ins are available in other software sites
Product: [Eclipse Project] PDE Reporter: Curtis Windatt <curtis.windatt.public>
Component: UIAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, ankur_sharma, curtis.windatt.public, darin.eclipse, jeffmcaffer, ralf
Version: 3.7   
Target Milestone: 3.7 M7   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 324336    
Bug Blocks:    
Attachments:
Description Flags
Possible Fix none

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