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

Load eContainer for proxy child #86

Description

@Dufgui

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions