| Summary: | When using Graphiti, calling eGet throws IllegalStateException because of Bpmn2OppositeReferenceAdapter | ||
|---|---|---|---|
| Product: | [Modeling] MDT.BPMN2 | Reporter: | Ivar Meikas <ivar> |
| Component: | Core | Assignee: | Project Inbox <mdt-bpmn2-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ahti |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Ivar Meikas
As I understand it, EMF (for example the generated editor) expects values of multi-valued features to implement InternalEList (see Javadoc of that interface). Thus, some list type provided by EMF is needed, but not necessarily a notifying one. I will look for a suitable replacement. One question remains however: the feature incomingConversationLinks is marked as derived + transient. Why does the transaction mechanism not allow modifications like the one happening here (on-the-fly creation of list), although they do not modify the resource set? Seem's odd to me, but nevermind - notification is not needed and moreover most likely not wanted here. Fixed with commit e452f4a7f3b8be78047841ce4d101baa4a26d877 (return BasicInternalEList) Awesome, works, thanks! |