Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 57528 - getBundleGroups returns duplicates
Summary: getBundleGroups returns duplicates
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Dorian Birsan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 54548
  Show dependency tree
 
Reported: 2004-04-05 21:59 EDT by Nick Edgar CLA
Modified: 2004-04-06 16:11 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 Nick Edgar CLA 2004-04-05 21:59:29 EDT
build I20040330 + latest UI from HEAD + patch for bug 54548

- launch target, with launcher configured to use features from host (none in
workspace)
- Help > About
- the list of features has 2 of each installed feature
  - it shows 12, but there should only be 6
Comment 1 Nick Edgar CLA 2004-04-05 22:03:05 EDT
The dups are not being introduced in the UI code.  It's picking up only one
IBundleGroupProvider in the system: ConfigurationActivator.
ConfigurationActivator.getBundleGroups() is returning duplicates.
Comment 2 Dorian Birsan CLA 2004-04-06 15:09:25 EDT
Nick, do you see duplicates if you just run eclipse (not self-hosted 
instance) ?
Comment 3 Nick Edgar CLA 2004-04-06 15:46:52 EDT
No, only in the self-hosted instance.
Comment 4 Dorian Birsan CLA 2004-04-06 16:11:46 EDT
OK, problem fixed.
The update configurator was trying to detect features available on the site, 
but PDE creates some special platform.xml configuration file that should be 
used as is, with no reconciliation with the file system.