Community
Participate
Working Groups
We are using svn locks on ecore model files. However if you don't have such a lock and the file is read only the graphical editor will still allow to save the model diagram with no error dialog popping up. All changes made in the graphical editor will consequently be lost once the editor is closed (since the ecore model could not be changed in the background). It would be good to inform the user that saving the model failed because the file is read only.
Moved to Sirius, the aird editor is not part of EMF itself.
Created attachment 276245 [details] Project to reproduce
The problem is not particularly related to aird editor but to representations editor. Steps to reproduce: - import the attached project - open the aird - open the diagram - got to your OS file explorer and set the ecore file to read only. - change the name of NewEClass1 to ReadOnly - Save - Close the session with right click>close - Reopen the aird and the diagram KO the ECLass name has not been changed and nothing is logged in error log.
Scenario with aird editor: - import the attached project - open the aird editor - got to your OS file explorer and set the ecore file to read only. - select the NewEClass1 semantic element in Models part of aird editor and change the name to ReadOnly - Save - Close the session with right click>close - Reopen the aird KO the name is not changed.