Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351362

Summary: When deleting feature values, also delete their children
Product: [Modeling] Edapt Reporter: Markus Herrmannsdoerfer <herrmama>
Component: CoreAssignee: Markus Herrmannsdoerfer <herrmama>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.