Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328675 - Unresolve eProxy
Summary: Unresolve eProxy
Status: CLOSED WONTFIX
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dimitris Kolovos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 03:21 EDT by Henning CLA
Modified: 2013-07-11 10:52 EDT (History)
0 users

See Also:


Attachments
This example includes performs a M2M transformation and stores element references and in the end it tries to retrieve the stored references. (9.97 KB, application/zip)
2010-10-26 03:21 EDT, Henning CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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