Closed cdpm closed 4 years ago
Hello,
thank you for your efforts and the detailed report!
As you can tell from the commit history, this project has been inactive for quite some time. Wile it remains close to my heart, I currently don't have the time to work on it. However, I would be willing to review pull requests.
Hi, thank you for your quick reply, I opened a pull request: #5 .
@cdpm thank you for your contribution, I just merged your Pull Request!
OwnedTransientEStore::isSet
is currently implemented like this:I think the special treatment of container references in
OwnedTransientEStore::isSet
misses the case wherefeature
is a containment reference, but not the only one. A simple example would be twoEClass
esOrder
andOrderItem
, withOrder
having two many-valued containment references toOrderItem
,items
(for items that have been added to the order) andconsideredItems
(for items that haven't been added to the order yet). If anOrderItem
was contained by anOrder
viaconsideredItems
, that would erroneously cause the modeled inverse ofitems
to be considered set. (This example is taken from EMF: Eclipse Modeling Framework, p. 265.)Failing unit test for reproducing: