Bug 22792 - [Reg] installing another optional feature, enable previous optional
Summary: [Reg] installing another optional feature, enable previous optional
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-23 14:34 EDT by Christophe Elek CLA
Modified: 2002-08-30 15:14 EDT (History)
0 users

See Also:


Attachments

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