Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328675

Summary: Unresolve eProxy
Product: [Modeling] Epsilon Reporter: Henning <Hager.Henning>
Component: CoreAssignee: Dimitris Kolovos <dkolovos>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
This example includes performs a M2M transformation and stores element references and in the end it tries to retrieve the stored references. none

Description Henning CLA 2010-10-26 03:21:22 EDT
Created attachment 181698 [details]
This example includes performs a M2M transformation and stores element references and in the end it tries to retrieve the stored references.

When storing some reference of a model to another one, the reference cannot be resolved after a read from that model. Instead of getting a resolved object you get an unresolved eProxy. The attachment shows a small example.
Comment 1 Dimitris Kolovos CLA 2013-06-01 04:21:28 EDT
I've reduced the problem to the following which appears to be producing a proxy reference in safeModel.model

rule minimal
	transform s : source!Root
	to t : Target!Domain{

	var source : new saveModel!Source;
	source.Name = "mySource";
	source.ref = s.element;
}

I tried to establish a working reference between saveModel.model and model-instance.xml manually using Exeed but this doesn't seem to be working either. Not sure how to move forward with this, so given that it's been a while since it's been reported I'm closing this as WONTFIX but please feel free to reopen.
Comment 2 Dimitris Kolovos CLA 2013-07-11 10:52:39 EDT
Closed as WONTFIX