Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353551 - [Property View] When deleting an object from the property view, the diagram is not correctly refreshed
Summary: [Property View] When deleting an object from the property view, the diagram i...
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Views (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 05:21 EDT by Camille Letavernier CLA
Modified: 2014-06-02 08:14 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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