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

Bug 554765

Summary: Delete the container of the target element from "Delete From Model" toolbar action fails
Product: [Polarsys] Capella Reporter: Arthur Daussy <arthur.daussy>
Component: DiagramAssignee: Project Inbox <capella-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P1 CC: laurent.fasani, maxime.porhel, philippe.dul
Version: 1.4.0   
Target Milestone: 1.4.1   
Hardware: PC   
OS: All   
Whiteboard: 2669
Bug Depends on:    
Bug Blocks: 558056    
Attachments:
Description Flags
Screnshot none

Description Arthur Daussy CLA 2019-11-18 09:58:46 EST
Created attachment 217 [details]
Source I used for testing purposes

It is not currently possible to delete a diagram element that is a the current container of the diagram target using the "Delete From Model" action. The editor is closed and the deletion is not performed.

See the associated image.

Scenario:
1) Open the joined model.
2) Open the PDFB diagram (can be reproduced on another diagrams)
3) Select A and click the "Delete from Model" button.

Expected:
The selected elements are deleted and the editor is closed.

Actual:
The selected elements are not deleted and the editor is closed.
Comment 1 Arthur Daussy CLA 2019-11-18 10:27:31 EST
Patchset on Sirius: https://git.eclipse.org/r/#/c/152339/
Comment 2 Polarsys Genie CLA 2019-11-19 02:48:00 EST
New Gerrit change created: https://git.polarsys.org/r/8641
Comment 3 Laurent Fasani CLA 2020-02-28 10:44:01 EST
https://github.com/eclipse/capella/pull/98 has been merged
Comment 4 Philippe Dul CLA 2020-07-23 03:02:44 EDT
Status: resolved
Resolution: fixed
Comment 5 Philippe Dul CLA 2020-07-23 03:02:56 EDT
Status: verified
Resolution: fixed