Bug 24535 - Installing feature enables missing optional children
Summary: Installing feature enables missing optional children
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0.2   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 24603 (view as bug list)
Depends on:
Blocks: 24659
  Show dependency tree
 
Reported: 2002-10-08 16:00 EDT by Christophe Elek CLA
Modified: 2002-10-14 19:28 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 Christophe Elek CLA 2002-10-08 16:00:21 EDT
Install root 1.0.0 without optional
Search for update
Install XYZ&Bogus 1.0.1
the 2 children are now enable
Comment 1 Dejan Glozic CLA 2002-10-10 09:46:59 EDT
*** Bug 24603 has been marked as a duplicate of this bug. ***
Comment 2 Dejan Glozic CLA 2002-10-14 19:28:10 EDT
This is a genuine bug that also existed in 2.0.1.
When none of the optional features is installed, the list of optional features 
to install is empty, which results in calling the 'IConfiguredSite.install' 
method version without the optional feature array. This is wrong because that 
is interpreted as 'install all optional features'. What was needed is to call 
the other method and pass an empty array of feature references, indicating that 
none of the optional features should be installed.

I am moving this bug into the '2.0.2' category since it is fixing a bug in 
2.0.1.

Fixed and tested.