Bug 481658 - Query references not converted by QVTm2QVTp
Summary: Query references not converted by QVTm2QVTp
Status: NEW
Alias: None
Product: QVTd
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-08 01:33 EST by Ed Willink CLA
Modified: 2016-01-02 13:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2015-11-08 01:33:03 EST
Queries are copied from m to p, but references to them are not.

Looks as if QVTmToQVTiPartition.etl post which currently does:

	fixReferences(QVTp!VariableExp.all());

needs a fixer for OperationCallExp.all() too, but I do not understand why fixReferences uses name searching rather than "equivalent". Perhaps it is because Variables are EcoreUtil.copied rather than transformed so the transformation equivalences are missing. But in that case the EcoreUtil.copy mapping should be used...
Comment 1 Ed Willink CLA 2016-01-02 13:34:23 EST
Fixed by the Java rewrite pushed to master for M5.

(Worked around by the new scheduler.)