| Summary: | [ATL] Rules order has an impact on wether xmi::id are copied or not | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MMT.ATL | Reporter: | Sébastien Gandon <sgandon> | ||||
| Component: | Engine | Assignee: | mmt-atl.toolkit-inbox <mmt-atl.toolkit-inbox> | ||||
| Status: | ASSIGNED --- | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | dennis.wagelaar, frederic.jouault, william.piers | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Sébastien Gandon
Created attachment 174947 [details]
Eclipse project for ATL xmiid copy error
Thanks for the test project. I investigated and it appears that the VM reorganizes some EObjects in the resource and loses the id. The elements creation order causes this reorganization, that's why your workaround works. I do not have the correction for the moment, so the workaround is the best solution at this time. Please comment this bug if it becomes insufficient. It seems that like UML profile operation calls, XMI ID initialization should be delayed by the VM until the end of the transformation (i.e., until model structure does not change). |