Community
Participate
Working Groups
Steps to reproduce: 1. Create a Ecore Modeling Project 2. Add a package p1 in p0 and a class in it 3. Create a new representation on the diagram 4. In the model explorer right clic p1 and select control, choose to move the representation a sub aird. 5. At the end of the control, you must have a new aird and a new ecore file with a decorated package without any child. In the initial ecore file, you must see the same structure than before the control p0, p1, c1 (child of p1) but p1 has the "isControlled" decorator. Now enable the IsModifiedSavingPolicy Replay the previous scenario 5. Now the ecore file is not created but p1 is displayed as controlled. This seems to indicate that the policy did not detect that the main ecore and the controlled one need to be saved. (Open in text editor or reflective ecore editor the main ecore to see if it has been saved). Also check the sub aird creation. To enable the IsModifiedSavingPolicy: make sure you have Xtext and the Xtext bridge in your environnement, and add at least one XText model in the modeling project between steps 1 and 2.
The IsModifiedSavingPolicy is now the default Saving Policy. However, even with the XText bridge, I did not reproduce this issue. (System Linux 64bits)
FI, I did not reproduce with an XText resource within the modeling project.
We need to do some additional checks under Windows before we can confirm it is indeed fixed.
I have not reproduce the issue on Windows. However, I have experienced and fixed the issue 462336.
Verified on Sirius 3.0.0M6
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.