| Summary: | [Xtext] Work around false positives in ConcreteSyntax validators | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Cedric Brun <cedric.brun> |
| Component: | Core | Assignee: | Cedric Brun <cedric.brun> |
| Status: | CLOSED FIXED | QA Contact: | Pierre-Charles David <pierre-charles.david> |
| Severity: | normal | ||
| Priority: | P3 | CC: | maxime.porhel, pierre-charles.david |
| Version: | 1.0.0M6 | Keywords: | triaged |
| Target Milestone: | 1.0.0M7 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Cedric Brun
Change submitted here : https://git.eclipse.org/r/#/c/25152/ Cedric, could you indicate how to reproduce the issue / check the correction ? Do you have a simple reproduction case ? Yep,
1- install Sirius with the Xtext integration feature
2- install EcoreTools 2.0.x
3- install Xcore
4- create a new Xcore project, create an Xcore file with for instance :
package library
class Library {
}
5- create an .aird on top of this Xcore file
6- create a new diagram on top of the EPackage instance which is contained in this Xcore file
7- change something using the diagram like, for instance, renaming the Library EClass (not required with the current saving policy which will try to save the Xcore file anyway)
7- save => you'll get the exception
Thanks. I have assigned this issue to Cedric as he proposed a patch set on Gerrit. Fixed by be137d326d439d98d3844deb2999b59126d91d13. Verified on 1.0.0M7rc1 (1.0.0.20405030833). Available in Sirius 1.0.0M7 (see https://wiki.eclipse.org/Sirius/1.0.0M7 & http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tag/?id=v1.0.0M7). |