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

Bug 316192

Summary: [editor] aliases used in OCLinEcore constraints are volatile
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: ed: indigo+
Version: 3.0.0   
Target Milestone: 3.1.0   
Hardware: PC   
OS: Windows Vista   
Whiteboard: Usability
Bug Depends on:    
Bug Blocks: 318358    

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.