Bug 547111

Summary: When a project reference another project, deletion of referenced project doesn't remove deleted elements
Product: [Modeling] Sirius Reporter: Jerome Pequery <jerome.pequery>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: UNCONFIRMED --- QA Contact:
Severity: normal    
Priority: P3 CC: steve.monnier
Version: 6.1.2Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Jerome Pequery CLA 2019-05-09 04:25:13 EDT
Steps to reproduce: 

1- create a first project, with a first model with elements (an ecore model is OK)
2- create de second modelling project, referencing the first project/model
3- add in the second project a new model, from the same metamodel than the first one
3- create a diagram in the second project. This diagram must display elements from model 1 and model 2. In an ecore context, the design class diagram can do this easily. 

4- delete the first project with the diagram created at step 3  opened. 

expected : deletion of project1 elements
error : project1 elements still exists, and are not even marked "deleted", even after a refresh
Comment 1 Steve Monnier CLA 2019-05-17 09:51:01 EDT
Can you attach a sample, when I tried, the referenced deleted element was removed from the diagram once I refreshed.