Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351362 - When deleting feature values, also delete their children
Summary: When deleting feature values, also delete their children
Status: RESOLVED FIXED
Alias: None
Product: Edapt
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Markus Herrmannsdoerfer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 14:36 EDT by Markus Herrmannsdoerfer CLA
Modified: 2011-07-06 14:40 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 Markus Herrmannsdoerfer CLA 2011-07-06 14:36:58 EDT
The method OperationImplementation.deleteFeatureValue should not only remove the value of a feature, but also delete the contents of model elements, if the feature is a reference.
Comment 1 Markus Herrmannsdoerfer CLA 2011-07-06 14:40:11 EDT
Model.delete needs to be used instead of EcoreUtil.delete.