Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323287 - Plugin State view opens incorrect version of bundle
Summary: Plugin State view opens incorrect version of bundle
Status: VERIFIED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.7 M2   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 15:06 EDT by Andrew Niefer CLA
Modified: 2010-09-14 05:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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