Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320110 - [ClassD] Navigable Association creates redundant property in interface (class notation)
Summary: [ClassD] Navigable Association creates redundant property in interface (class...
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Samples (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 10:27 EDT by Christian Waniek CLA
Modified: 2012-12-11 15:13 EST (History)
1 user (show)

See Also:


Attachments
Incorrect rendered class diagram (64.14 KB, image/jpeg)
2010-07-16 10:27 EDT, Christian Waniek CLA
no flags Details
incomplete ocl in gmfmap (121.49 KB, image/jpeg)
2010-07-16 10:28 EDT, Christian Waniek CLA
no flags Details
patch to solve the bug (832 bytes, patch)
2010-07-16 10:29 EDT, Christian Waniek CLA
borlander: iplog+
borlander: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Waniek CLA 2010-07-16 10:27:18 EDT
Build Identifier: 

I created a class diagram with two Interfaces in it (with class notation). Then I created a navigable association between these interfaces. The association is created well, but the owningAttribute is also shown in the properties compartment of the interface figure.
Using a navigable with normal classes this attribute doesn't appear in the diagram. (see attached picture)

The error comes due to an incomplete ocl (see attached picture)

Attached you'll find an patch for the classDiagram.gmfmap to solve the problem.

Reproducible: Always
Comment 1 Christian Waniek CLA 2010-07-16 10:27:54 EDT
Created attachment 174495 [details]
Incorrect rendered class diagram
Comment 2 Christian Waniek CLA 2010-07-16 10:28:36 EDT
Created attachment 174496 [details]
incomplete ocl in gmfmap

This picture shows where the error is in the classDiagram.gmfmap file
Comment 3 Christian Waniek CLA 2010-07-16 10:29:32 EDT
Created attachment 174497 [details]
patch to solve the bug

This Patch for the classDiagram.gmfmap file solves this bug
Comment 4 Michael Golubev CLA 2010-07-16 10:48:50 EDT
Comment on attachment 174497 [details]
patch to solve the bug

Reviewed
Comment 5 Michael Golubev CLA 2010-07-17 21:11:56 EDT
patch committed to head, with mninor changes (oclIsUnderined instead of = null)