Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 403432 - [IBD] Diagram version updater always mark the model as dirty
Summary: [IBD] Diagram version updater always mark the model as dirty
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Remi Schnekenburger CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 421230 (view as bug list)
Depends on:
Blocks: 388082 394775
  Show dependency tree
 
Reported: 2013-03-15 06:20 EDT by Camille Letavernier CLA
Modified: 2014-08-01 08:54 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2013-03-15 06:20:30 EDT
Each time we open an IBD diagram, the Diagram Version Updater command is executed. This introduces several issues:

- The command is always executed, even if it does nothing
- If the diagram is already open when we open the model, the model is immediately marked as dirty
- If we open an IBD diagram, the command is executed separately, i.e. the open action adds two different commands to the stack (Open, Update). Undoing the command will close the Page (which is expected). However, it breaks the dirty state (The editor remains dirty even after it has been saved). When a new command is executed (e.g. move an element), the model can be correctly saved.
Comment 1 Camille Letavernier CLA 2013-11-07 07:04:21 EST
*** Bug 421230 has been marked as a duplicate of this bug. ***
Comment 2 Ronan Bar CLA 2014-03-23 16:16:42 EDT
What is the status of this bug? The duplicates seem to have been resolved.
Comment 3 Camille Letavernier CLA 2014-03-24 04:38:27 EDT
> What is the status of this bug?

The bug still exists

> The duplicates seem to have been resolved.

Duplicates are always considered "Resolved" ("Resolved / Duplicate")
Comment 4 Camille Letavernier CLA 2014-08-01 08:54:47 EDT
Fixed with Bug 439433