| Summary: | Merge UML Association doesn't work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | Vincent Lorenzo <vincent.lorenzo> | ||||
| Component: | Core | Assignee: | EMF Compare <emf.compare-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | cedric.brun, Dominique.Toupin, laurent.goubet, sebastien.gerard | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Vincent Lorenzo
Created attachment 204397 [details]
This zip contains a model to reproduce easily the bug
This zip contains a model to reproduce easily the bug decribed in the previous comment.
There is a dependency loop between the two differences "hidden" under the association change. EMF Compare cannot properly merge these and that is what ultimately causes the IllegalArgumentException that happens when trying to execute this merge operation. Hi Laurent, I did not understand your argument against the bug. For me in terms of usage it is a bug of UML compare/merge to nkow be able to merge an association from one model to another. Can you explain in more detail what it is an issue? thanks. It is indeed a bug. Laurent's note is his analysis of the issue. To fix this we need to make sure we're able to handle cyclic dependencies during merging. Ok thanks. But where does this cyclic dependency come from? To merge (apply for instance) the Association instance the property has to be added too as the Association refers to the property instance. To add the property instance, this object having a reference to the Association, the association change needs to be applied too. This has been fixed along the way (probably through bug 379740) and we can no longer reproduce the issue on the two provided models. batch-closing a bunch of "RESOLVED" bugs. |