Bug 22792

Summary: [Reg] installing another optional feature, enable previous optional
Product: [Eclipse Project] Platform Reporter: Christophe Elek <celek>
Component: Update (deprecated - use Eclipse>Equinox>p2)Assignee: Dejan Glozic <dejan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Christophe Elek CLA 2002-08-23 14:34:16 EDT
Install Root 1.0.0 and Bogus (not XYZ)
Disable Bogus
Install XYZ,

Bogus is enabled...


One solution would be to pass only the optional feature to install
Comment 1 Dejan Glozic CLA 2002-08-23 17:23:55 EDT
The problem is in the UI passing all the optional features that needs to be 
installed, even those that are already in. Core will try to install them, see 
that there is no need, and then configure them, which is wrong because we only 
want to install the delta.

The fix is for the UI to detect optional features that are 'false update' (prev 
ID+version == new ID+version) and do not add them to the list that is then 
passed to the 'install' API.

The problem only affects optional features because non-optional included 
features in the hirarchy is enabled as a matter of course.

Fix implemented and tested.
Comment 2 Christophe Elek CLA 2002-08-30 15:14:55 EDT
close