emfjson / emfjson-jackson

JSON Binding for Eclipse Modeling Framework
https://emfjson.github.io
Other
80 stars 23 forks source link

duplicate item from JSON to EMF #41

Closed elvisqi closed 10 years ago

elvisqi commented 10 years ago

the case is occur in "conclusion" and "condition" element

read from JSON, the EMF item duplicated, but the element is fine in JSON du

read from xml, the EMF item is fine du_r

this element definition du_emf

ghillairet commented 10 years ago

Can you post the ecore and json or xmi files so I can reproduce it.

elvisqi commented 10 years ago

Thank you ~~~

发件人: Guillaume Hillairet [mailto:notifications@github.com] 发送时间: 2014年4月9日 17:46 收件人: ghillairet/emfjson 抄送: Elvis 主题: Re: [emfjson] duplicate item from JSON to EMF (#41)

Can you post the ecore and json or xmi files so I can reproduce it.

— Reply to this email directly or view it on GitHub https://github.com/ghillairet/emfjson/issues/41#issuecomment-39945974 . https://github.com/notifications/beacon/3584916__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMjY1NTkzMywiZGF0YSI6eyJpZCI6Mjk1OTQxMjV9fQ==--6f3896d83b17639bbbc6befb621681abf7c41c41.gif

elvisqi commented 10 years ago

sended mail with attachments to you, please check it. thank you ~~~~

ghillairet commented 10 years ago

I haven't received it, did you send it to g.hillairet @ gmail.com. Can you resend it? or put it on https://gist.github.com/

elvisqi commented 10 years ago

https://gist.github.com/elvisqi/10327938

ghillairet commented 10 years ago

It is fixed, this was due to references with opposites, that made the elements to be added to the lists twice.