Bug 553182 - "Delete from model" action on the container of the target of a representation fails
Summary: "Delete from model" action on the container of the target of a representation...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.3.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: 6.3.1   Edit
Assignee: Maxime Porhel CLA
QA Contact: Florian Barbin CLA
URL:
Whiteboard:
Keywords: triaged
Depends on: 552839 558026
Blocks: 558025
  Show dependency tree
 
Reported: 2019-11-18 11:49 EST by Arthur Daussy CLA
Modified: 2020-06-19 10:22 EDT (History)
2 users (show)

See Also:


Attachments
Stacktrace 1 (4.36 KB, text/plain)
2019-11-18 11:49 EST, Arthur Daussy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Daussy CLA 2019-11-18 11:49:44 EST
Created attachment 280679 [details]
Stacktrace 1

When using the "Delete From Model" action in a representation that deletes the target (or one of its container) of the current representation, Sirius fails with some hidden NPE.

Step to reproduce:

https://bugs.polarsys.org/show_bug.cgi?id=2668
https://bugs.polarsys.org/show_bug.cgi?id=2669

See attachment for hidden NPE (Hidden because there are not logged att all).

Actually it is not possible to reproduce with a "pure" Sirius modeller because of the following bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=552839
Comment 1 Eclipse Genie CLA 2019-11-20 03:13:11 EST
New Gerrit change created: https://git.eclipse.org/r/153018
Comment 4 Florian Barbin CLA 2020-04-14 11:48:18 EDT
Verified with Capella.
Comment 5 Pierre-Charles David CLA 2020-06-19 10:22:20 EDT
Available in Sirius 6.3.1 (part of Eclipse 2020-06). See https://wiki.eclipse.org/Sirius/6.3.1 for details on the release.