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

Bug 337909

Summary: Only one package version visible in manifest editor
Product: [Eclipse Project] PDE Reporter: Curtis Windatt <curtis.windatt.public>
Component: UIAssignee: Curtis Windatt <curtis.windatt.public>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ankur_sharma, daniel_megert, krzysztof.daniel
Version: 3.7   
Target Milestone: 3.6.2+   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Fix
none
Patch for 3.6 Maintenance Stream none

Description Curtis Windatt CLA 2011-02-22 16:52:55 EST
When modifying dependencies, the editor will only display one package, even if more than one version of that package is available.  This is a more significant problem because when a dependency is added, the version is included.  Unless the user modifies the version or sets a version range, the manifest could have incorrect dependencies.
Comment 1 Curtis Windatt CLA 2011-02-22 17:36:01 EST
Created attachment 189555 [details]
Fix
Comment 2 Curtis Windatt CLA 2011-02-22 17:38:44 EST
Fixed in HEAD.  The add dialog supports multiple package versions.  If you select multiple packages with the same name, only the first entry (typically the lowest version) will be added.
Comment 3 Curtis Windatt CLA 2011-02-25 10:43:46 EST
*** Bug 338180 has been marked as a duplicate of this bug. ***
Comment 4 Ankur Sharma CLA 2011-03-08 05:00:08 EST
Verified in I20110307-1300
Comment 5 Curtis Windatt CLA 2011-03-16 13:15:20 EDT
Created attachment 191319 [details]
Patch for 3.6 Maintenance Stream
Comment 6 Ankur Sharma CLA 2011-04-13 03:21:32 EDT
The patch has been committed to and released from R3_6_maintenance branch.
Comment 7 Ankur Sharma CLA 2011-04-13 04:12:59 EDT
The patch modified following files

org.eclipse.pde.core
	MANIFEST.MF	(version updated to 3.6.3.qualifier)
	org.eclipse.pde.internal.core.target.provisional
		NameVersionDescriptor.java

org.eclipse.pde.ui
	MANIFEST.MF	(version updated to 3.6.2.qualifier)
	org.eclipse.pde.internal.ui.editor.plugin
		ImportPackageSection.java


The patch was released with the Tag v20110316_r363 and the Map file pde.map (in version 1.1148.2.13) was updated.