You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did some debugging and found out that when the 2nd reference is added to the list of inputs of the model (Elist), nothing happens. I am assuming it considers the 2 inputs to be the same cooking type impl object and as such it doesn't work. Is this expected behaviour or a bug?
The text was updated successfully, but these errors were encountered:
That's a very old well known bug in EMF. https://bugs.eclipse.org/bugs/show_bug.cgi?id=89325
One solution is to refactor your grammar/metamodel, so you insert placehoders elements (with e.g. "Input" Eclass type) to hold the reference to food.
Take this model for example:
This serializes as expected:
When its deserialized though, this is the output:
It takes only 1 input now.
I did some debugging and found out that when the 2nd reference is added to the list of inputs of the model (Elist), nothing happens. I am assuming it considers the 2 inputs to be the same cooking type impl object and as such it doesn't work. Is this expected behaviour or a bug?
The text was updated successfully, but these errors were encountered: