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

Bug 323287

Summary: Plugin State view opens incorrect version of bundle
Product: [Eclipse Project] PDE Reporter: Andrew Niefer <aniefer>
Component: UIAssignee: Curtis Windatt <curtis.windatt.public>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: 4.0   
Target Milestone: 3.7 M2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrew Niefer CLA 2010-08-20 15:06:10 EDT
While investigating bug 323286, I have a state which contains multiple versions of some bundles.
In particular I have
org.apache.log4j_1.2.13.v200903072027 in a directory
org.apache.log4j_1.2.15.v201005080500 from the helios repo

In the plugin state view, I see both, but double clicking either of them always opens 1.2.15.v201005080500

I have a number of such bundles, double clicking always seems to open the higher version.
Comment 1 Curtis Windatt CLA 2010-08-20 16:06:14 EDT
We only pass the symbolic name into the code that looks up the model.  If we instead provide the whole bundle description we get more accurate results.  Fixed in HEAD.  See ManifestEditor.java and StateViewPage.java
Comment 2 Ankur Sharma CLA 2010-09-14 05:07:41 EDT
Verified in I20100913-1800