Community
Participate
Working Groups
Created attachment 257720 [details] Three projects that reproduce the bug Hi, I tried to create to vsp's, one containing a diagram extension of the other. Both of them contain validations but somehow the validations in the extension don't work. Did I make a mistake or did I trigger a bug? I created a small example (attached). MasterProject contains the extended viewpoint and ChildProject contains the extension. The ExampleProject contains a representation of an ecore model that I use to validate. The validation in Master attemps to ensure that names are not longer then 4 characters. The validation in Child ensures that names are at least 3 characters. (So only classes with names of three characters long are acceptable). When I validate the diagram, it seems that only the validation in the MasterViewpoint are executed. Any ideas? Greetings, Wilbert.
I confirm the bug, thanks.
Is there any update on this bug? I am facing the same problem even with Sirius 5.0.1.
Hi, this is not in our priorities right now, but I'm putting the ticket on the list for 6.0, at least to analyze it further. I can't guarantee it will get fixed, it will all depend on the effort required. Regards,
New Gerrit change created: https://git.eclipse.org/r/121800
Steps to validate: * import the three attached projects MasterProject contains the extended viewpoint and ChildProject contains the extension. The validation in Master attemps to ensure that names are not longer then 4 characters. The validation in Child ensures that names are at least 3 characters. (So only classes with names of three characters long are acceptable). The ExampleProject contains a representation of an ecore model * open the diagram in ExampleProject * Start Validation, right clicking on diagram background ->N2 should have a warning decoration
Reopening: the patch is ready, but not merged yet.
Gerrit change https://git.eclipse.org/r/121800 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=27b00a81ce506c870da28da643b1c52a5a3acbc7
Patch merged, with tests: 27b00a81ce506c870da28da643b1c52a5a3acbc7.
New Gerrit change created: https://git.eclipse.org/r/122571
Gerrit change https://git.eclipse.org/r/122571 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=dcbc85f08dd4c85ff97d528f116bb72a965ec750
Available in Sirius 6.0.0, see https://wiki.eclipse.org/Sirius/6.0.0 for details