Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 174056 - [UM :: Select Required] Validation.OCL and Transaction.OCL features depend on ocl plugin, not feature
Summary: [UM :: Select Required] Validation.OCL and Transaction.OCL features depend on...
Status: VERIFIED FIXED
Alias: None
Product: EMFT
Classification: Modeling
Component: Website (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Christian Damus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 175004
Blocks:
  Show dependency tree
 
Reported: 2007-02-13 14:24 EST by Nick Boldt CLA
Modified: 2008-01-28 16:57 EST (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 Boldt CLA 2007-02-13 14:24:24 EST
Because the .ocl features depend on the ocl plugin, not feature, clicking 'select required' does not work (this is a known, annoying aspect of Update Manager).

Steps to reproduce:

1. launch Eclipse 3.3M4 or later
2. Help > Software Updates > Find and install... 
3. Search for new features
4. enter new remote site: http://download.eclipse.org/releases/europa/staging/site.xml
5. expand site. expand 'models and model development'. select query ocl runtime feature.
6. note error message - requires plugin emf.query. click 'select required'. 
7. select query runtime feature, delect query ocl, then reselect. note that the error message now complains about emf.ocl. 'select required' still doesn't work. 
8. if you now click the ocl runtime, the error goes away. HOWEVER, this isn't entirely intuitive for users.

FIX: features should only depend on other features (never plugins!) if they are to work properly in UM.
Comment 1 Martin Oberhuber CLA 2007-02-14 06:20:41 EST
Does anybody know about more references regarding the "known, annoying aspect of Update Manager" that it doesn't handle plugin dependencies? There should be a bug filed against UM, but I couldn't find it.

For reference, another problem of "select required" is that if the required feature is contained within another larger feature (say, an SDK) - it may happen that the larger "wrapping" feature is selected when pressing "Select Required" although it is not really required.

People may end up installing more (much more) than they'd really need, which I consider very problematic now that Europa update site is to serve both end-user runtimes and extender SDKs. 

This is tracked in bug 154505.
Comment 2 Martin Oberhuber CLA 2007-02-14 06:59:09 EST
Looks like related to this is bug 138802 comment 4 : Some of the features in Callisto put requirements on plugins that are in included features which "Select Required" would not pick up. This patch allow us to check requirements from features on plugins as well as on included features and their plugins.

That bug is closed so I'm wondering where the issue that features should not depend on plugins is documented.
Comment 3 Christian Damus CLA 2007-04-23 16:31:01 EDT
Looks like whatever the platform has done is working well for MDT OCL and EMF-QTV components.  "Select Required" is now using the feature-to-plugin dependencies to resolve required features, and picking the minimal "End-User" features instead of the SDK in all cases (the SDK features have no inter-dependencies).
Comment 4 Nick Boldt CLA 2008-01-28 16:57:34 EST
Move to verified as per bug 206558.