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

Bug 334633

Summary: OCL Expression Labels not updating when accessing attributes of referenced objects
Product: [Modeling] GMF-Tooling Reporter: Ralph Gerbig <ralphgerbig>
Component: CoreAssignee: Project Inbox <gmp.gmf-tooling-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ralph Gerbig CLA 2011-01-18 08:18:11 EST
Build Identifier: 20100917-0705

I have OCL expression of the following form:

self.referenceToModelElement.attribute

This only works when the diagram is open and the value for self.referenceToModelElement is set in the properties view.

When opening the diagram:
The label does not set its value to self.referenceToModelElement.attribute
When updating the value of referenceToModelElement.attribute
The label does not update either.

Reproducible: Always