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

Bug 359703

Summary: Delete does not delete Elements with children property false on containment reference
Product: [Modeling] ECP Reporter: Maximilian Koegel <mkoegel>
Component: CommonAssignee: Maximilian Koegel <mkoegel>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: jhelming
Version: unspecified   
Target Milestone: 0.8.9   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Maximilian Koegel CLA 2011-10-03 08:56:24 EDT
If the containment reference holding an element has the property children in the genmodel set to false, it does not get deleted.
Comment 1 Maximilian Koegel CLA 2011-10-03 08:57:13 EDT
Fixed by using EcoreUtil.delete() instead of DeleteCommand
Comment 2 Maximilian Koegel CLA 2011-10-03 09:02:40 EDT
fixed in maintenance branch only, will be ported on next forward port.