Bug 495120 - Inconsistent status when deleting one or more representation
Summary: Inconsistent status when deleting one or more representation
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-06-01 04:52 EDT by Laurent Fasani CLA
Modified: 2016-06-03 08:03 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Fasani CLA 2016-06-01 04:52:24 EDT
scenario:
1- open a modeling project with two representations.
2- open both representation (save if session is dirty)
3- delete first representation -> the second representation get dirty (a star is displayed in the editor tab)
4- delete the second representation -> a star appears on the modeling project
5- close the project without saving
6- reopen the project -> nothing has been saved

Issue1: After step4, the save action is disabled. It should not be the case.

If no editor is open, then the representation is deleted and the change is commited. But, if an editor is opened on an other representation1, when deleting the current representation2, the representation1 get dirty and the change is not saved.
Issue2: The behavior should consistent in both cases.