| Summary: | LegacyObjectWrapper fails with IllegalStateException while Notifiers are called | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Martin Fluegge <martin.fluegge> | ||||
| Component: | cdo.legacy | Assignee: | Martin Fluegge <martin.fluegge> | ||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | Flags: | stepper:
review+
|
||||
| Version: | 4.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Martin Fluegge
Created attachment 177606 [details]
Patch v1
I had a closer look at it and it seems that the problem occurs if objects are handled in a containment chain. Which means if object A contains B and B contains C all these objects will be touched while selfAdadpt is called for A on a CrossreferenceAdapter. But at this time the LegacyWrapper only could have adjusted A and it's Containment B. But not B's containment. So C's isset state is not yet aligned with the store and the exception occurs. Tha's why I would like to remove the check.
Eike, what do you think about it?
I've never used a crossreference adapter. Please contact me via Skype to tell me about it. After discussion patch v1 was committed to HEAD. Available in R20110608-1407 |