| Summary: | Remove Acceleo3 references in Sirius Metamodels | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Belqassim Djafer <belqassim.djafer> |
| Component: | Core | Assignee: | Project inbox <sirius.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | Belqassim Djafer <belqassim.djafer> |
| Severity: | normal | ||
| Priority: | P3 | CC: | florian.barbin, laurent.redor, maxime.porhel, pierre-charles.david |
| Version: | 1.0.1 | Keywords: | triaged |
| Target Milestone: | 3.0.0M4 | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=449193 | ||
| Whiteboard: | |||
|
Description
Belqassim Djafer
Proposed fix : https://git.eclipse.org/r/#/c/35631/ Fix merged as aac5656f5a52cf59edbf12c41641e224c330cd4b. There is regression on tests since this fix. Indeed, This fix modifies the behavior of the existing VSMs that use the default values. A migration participant (AbstractVSMMigrationParticipant) must be added to explicitly replace each default value by the old expression. People which does not want to depend on Acceleo3 can then update their VSM by removing the A3 expressions. A documentation must be added in the release notes to explain this and detail the method to remove A3 expressions. Example of failing test: org.eclipse.sirius.tests.swtbot.sequence.MessageExtensionTest-->The editor should not be dirty after the diagram opening. I propose this migration fix : https://git.eclipse.org/r/#/c/36006/ Regression fixed by [1] (patch from Belqassim). [1] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=6476822c3e7a5c79dc242823ef627bb1024731de The migration added to fix regression (comment 5) needs changes in "migration framework" (in API) so the 'backport' keyword was removed from the whiteboard list. Issue reopened: a migration test is needed with data in the "do not migrate" folder. Test added with http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f217147fd0c0c9288799718ed46a825709a44557 The commit bcaf4295b2e16bcc9fa2d37d7e68fd673591f90d makes the Representation file migration also use the new mechanism. The commit bcaf4295b2e16bcc9fa2d37d7e68fd673591f90d makes the Representation file migration also use the new mechanism. Verified as technical issue Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0. |