-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature maps are not supported #84
Comments
Serialize a |
d7de3e4: The simplest and most efficient method seems to be a simple transformation of the |
I have just tried to load a model in which the DocumentRoot content is stored in a feature map. Unfortunately, the dynamicGet of DefaultPersistentEObject does not get called; the eGet method of BasicEObjectImpl calls the dynamicGet method of eSettingDelegate(eFeature) instead of its own. This results in a ClassCastException: fr.inria.atlanmod.neoemf.core.DefaultPersistentEObject$EStoreEcoreEList cannot be cast to org.eclipse.emf.ecore.util.FeatureMap$Internal Is this something that can be fixed by tweaking model generation, or is some modification to NeoEMF classes necessary? |
Hi Paul, Version 1.0.2 doesn't handle FeatureMaps. However, the current code on branch "master" solves this issue. Regards, |
Hello Gerson,
many thanks for your reply, but this issue was with the code from the snapshot update site, plugin version of 1.0.3.20180215194203
I am guessing that this is much closer to master than 1.02, is it? Or do I need to build from Git for these changes?
Kind regards,
Paul
…On 17 Feb 2018, at 18:55, Gerson Sunyé ***@***.***> wrote:
Hi Paul,
Version 1.0.2 doesn't handle FeatureMaps. However, the current code on branch "master" solves this issue.
Regards,
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Paul, We did a big merge yesterday, the snapshot you have is 1 day too old. Please try again with the current snapshot. |
Feature maps are not properly supported: the code supposed to detect and create them doesn't exist in
DefaultPersistentEObject#dynamicGet(int)
The text was updated successfully, but these errors were encountered: