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

Bug 350254

Summary: [All Diagram] Deleting a package which is a diagram context corrupts the model
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: P3    
Version: 0.8.0   
Target Milestone: SR1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Vincent Lorenzo CLA 2011-06-24 09:28:26 EDT
When you have a package in your model and when this package is the context of a diagram. Deleting the package corrupts the model (you can't reopen it.

Steps to reproduce : 
1/ Create a new Model
2/ Create a package in your model
3/ Create a diagram with this package as context
4/ Destroy your package
5/ Save and close the Papyrus editor
6/ Try to reopen your model -> your model is corrupted.

Warning : what should we do with the diagram owning by the destroyed package? We destroy it or we "reparent" it?
Comment 1 Yann Tanguy CLA 2011-06-24 11:06:57 EDT
Duplicate #348689

*** This bug has been marked as a duplicate of bug 348689 ***