Bug 18021 - Common children feature will be removed
Summary: Common children feature will be removed
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
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Christophe Elek CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 18260 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-28 06:12 EDT by Christophe Elek CLA
Modified: 2002-05-31 13:24 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-05-28 06:12:46 EDT
feature F1 -> children Fa v1.0.0
Feature F2 -> children Fa v1.0.0
When F2 is disable, F1 is boken (we disable Fa)
Comment 1 Christophe Elek CLA 2002-05-29 16:59:48 EDT
ConfigurationPolicy#unconfigure(IFeatureReference) checks the Feature doesn't
have a configured parent, otherwise it does not unconfigure the feature and set
the Activity to NOK. This will work for nested feature is we unconfigure teh
parent feature before the children (which is the case).

The method ConfigurationPolicy#validateNoConfgiuredParents returns true if teh
Feature doesn't have a configured parent

Tested with 2 nested feature with same child, The child feature is not disable
when on parent is disable.

Also fixed a FeatureReference comparison bug. 
Feature#featureAlreadyInstalled now compares Version and Identifier instead of URL

Version in v20020529H1715_18021
Comment 2 Christophe Elek CLA 2002-05-30 06:54:20 EDT
Fixed issue where the computation of already existing feature was based on URL,
which didn't work to find if a remote feature was already installed on the local
site.
This was resultng in not beeing able to install a children feature. The error
message stated the file 'feature.xml' already existed
Fixed in Latest version
Comment 3 Christophe Elek CLA 2002-05-30 07:58:36 EDT
*** Bug 18260 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Elek CLA 2002-05-31 13:24:19 EDT
Verified 0531