Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Load eContainer for proxy child #86

Open
Dufgui opened this issue Sep 7, 2016 · 1 comment
Open

Load eContainer for proxy child #86

Dufgui opened this issue Sep 7, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@Dufgui
Copy link

Dufgui commented Sep 7, 2016

Hello, finaly i can text the new version 0.15.0 and the RC1. I fix the proxy resolution in my model.
It's fix the type of the ref proxy. But i still have a problem when i load a child directly and try to resolved his parent.
In Xml, i have :
<?xml version="1.0" encoding="UTF-8"?> <MyNs:MPhysicalResource xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:MyNs="http:///MyNs.ecore" schemaRefId="bobobambim3" name="childGeneric3" id="0--132" versionMajor="0" versionMinor="0" versionLocal="0"> <parentMyNsResource xsi:type="MyNs:MPhysicalResource" href="archive:file://C:\Users\gdufour\AppData\Local\Temp\.MyNsserver_test\database\data\resource_data\roots\documents\0\29\1\0--129_1.MyNs!/root.MyNs#/"/> <childMyNsResource xsi:type="MyNs:MPhysicalResource" href="archive:file://C:\Users\gdufour\AppData\Local\Temp\.MyNsserver_test\database\data\resource_data\roots\documents\0\33\1\0--133_1.MyNs!/root.MyNs#/"/> </MyNs:MPhysicalResource>

and in Json:
{ "eClass" : "http:///MyNs.ecore#//MPhysicalResource", "schemaRefId" : "bobobambim3", "name" : "childGeneric3", "id" : "0--132", "versionMajor" : 0, "versionMinor" : 0, "versionLocal" : 0, "childMyNsResource" : [ { "eClass" : "http:///MyNs.ecore#//MPhysicalResource", "$ref" : "archive:file://C:\\Users\\gdufour\\AppData\\Local\\Temp\\.MyNsserver_test\\database\\data\\resource_data\\roots\\documents\\0\\33\\1\\0--133_1.MyNs!/root.MyNs#/" } ] }

So when i try to load my eContainer of the child, it's doesn't work. I see your last commit wich works by feature. You think i have something still wrong in the model with the opposite parent wich is not saved ?

@ghillairet ghillairet added the bug label Sep 11, 2016
@ghillairet ghillairet self-assigned this Sep 11, 2016
@ghillairet ghillairet added this to the 1.0.0-RC1 milestone Sep 11, 2016
@ghillairet
Copy link
Member

I will look at it.

@ghillairet ghillairet modified the milestones: 1.0.0, 1.0.0-RC1 Nov 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants