Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #466566 +++ N.B. : This problem was first encountered using RTC but I was able to reproduce it using Git and even by just copying files into the project. Steps to reproduce (with Git) : 1) Import the provided project. This project contains a main semantic resource and a controlled one. There is one aird file. This project should be committed into a Git repository 2) Clone the Git repository to another place. Open a new workspace and import the project from Git 3) In the first workspace, create a representation (class diagram) on the sub-package (contained in the controlled semantic resource). 4) Extract this new diagram into a new aird file 5) Commit the modifications (1 modified aird and 1 new aird) 6) In the second workspace, pull the modifications. => the diagram is not visible in the tre under My.ecore. Though it is visible when unfolding the new aird file. 7) Close/Open the modeling project => the diagram is now visible in the semantic tree. Steps to reproduce (without Git) 1) Import the provided projects in 2 different workspaces. 2) Execute steps (3) and (4) from above in the first workspace 3) Copy the 2 aird files (1 modified and 1 new) into the second workspace 4) You should face the same problem.
New Gerrit change created: https://git.eclipse.org/r/50113
The Gerrit test patchset has been abandoned. The proposed test was unreliable: the workspace does not always the change on the main aird and ecore file. The IResourceDelta of the IResourceChangeEvent often contains only the delta for the added fragments and not for the modified files (modified using the test api EclipseTestsSupportHelper). In debug, the delta is often ok and then the reload behavior is correct. The test will be replaced by a manual scenario. See the scenario on Bug #466566
Gerrit change https://git.eclipse.org/r/50113 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d785f7cfa96e16b46f1aaea6c6e2723abdf534e6
Gerrit change https://git.eclipse.org/r/50162 was merged to [v3.0.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=9d79a8a4742d161cc05c6e7216895c6d1a40b8c9
Gerrit change https://git.eclipse.org/r/50114 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=87e3ed66c60d4d30cad4e88567a0f19cf4099fd1
After a last try, the test has been stabilized and merged.
Validated with Sirius 3.1.0.201509241504
Available in Sirius 3.1.0.