Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316192 - [editor] aliases used in OCLinEcore constraints are volatile
Summary: [editor] aliases used in OCLinEcore constraints are volatile
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.1.0   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords:
Depends on:
Blocks: 318358
  Show dependency tree
 
Reported: 2010-06-08 15:13 EDT by Ed Willink CLA
Modified: 2011-05-27 06:40 EDT (History)
0 users

See Also:
ed: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2010-06-08 15:13:30 EDT
If an OCLinEcore constraint refers to an imported alias e.g.

mine::Type

the mapping from mine to its URI is not written out. When the textual OCL expression is read in again, a package alias is auto-generated probably with a different spelling giving a parse failure.

Fix (pending for after Helios); write out the package as aliases as EPackage OCL annotations, so that they are there to prime the reload.
Comment 1 Ed Willink CLA 2011-03-14 15:55:20 EDT
References are now to pivot model (AST) elements rather than CST elements. Nothing to lose.
Comment 2 Ed Willink CLA 2011-05-27 02:18:11 EDT
Closing.
Comment 3 Ed Willink CLA 2011-05-27 06:40:57 EDT
Resolved for Indigo is 3.1.0 not 3.2.0.