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

Bug 353551

Summary: [Property View] When deleting an object from the property view, the diagram is not correctly refreshed
Product: [Modeling] Papyrus Reporter: Camille Letavernier <cletavernier>
Component: ViewsAssignee: Camille Letavernier <cletavernier>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse-bugzilla, ronan.barrett
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Camille Letavernier CLA 2011-08-02 05:21:25 EDT
When an element is deleted from the property view, the diagram is not correctly refreshed.

The deletion should use the correct Request (DestroyElementRequest when the EObject is removed from a Containment reference, SetRequest otherwise).
Comment 1 Camille Letavernier CLA 2011-08-02 05:43:05 EDT
Partially fixed in r5172
Merged to the trunk in r5173

The bug may still appear when deleting elements through the property editor's Dialog. However, this dialog is disabled (by default) for Containment references in EMF.

Classes which override this default behavior may still meet this bug. This will require a modification of the commands used by the dialog. This modification will be done after the SR1.
Comment 2 Ronan Bar CLA 2014-05-22 10:16:44 EDT
The base use-case works fine in Luna nightly i.e. Delete an attribute from a class using the properties view and the diagram updates.
Comment 3 Camille Letavernier CLA 2014-06-02 08:14:16 EDT
Comment 1 is still valid, but we'll reopen the if the issue actually occurs somewhere

I close the task