Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350254 - [All Diagram] Deleting a package which is a diagram context corrupts the model
Summary: [All Diagram] Deleting a package which is a diagram context corrupts the model
Status: RESOLVED DUPLICATE of bug 348689
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: SR1   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 09:28 EDT by Vincent Lorenzo CLA
Modified: 2011-06-24 11:06 EDT (History)
0 users

See Also:


Attachments

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