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

Bug 320862

Summary: [class diagram] N-arary recursive association branches are mislabelled
Product: [Modeling] Papyrus Reporter: Ed Willink <ed>
Component: CoreAssignee: Patrick Tessier <Patrick.Tessier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2010-07-26 01:10:20 EDT
After entering an N-ary association such as:

class Person;

association class Family {
 property father : Person[*];
 property mother : Person[*];
 property child : Person[*];
 invariant ChildHasFather: child->notEmpty() implies father->notEmpty();
 invariant ChildHasMother: child->notEmpty() implies mother->notEmpty();
}

the branches are correctly labelled but as soon as some edit provokes a refresh all branches acquire the label of the last branch.

Examining the notation file suggests that the problem is a modelling error; each branch 'element' uses the association id, so all three branches in the notation file are indistinguishable model-wise.
Comment 1 Patrick Tessier CLA 2010-09-10 09:09:47 EDT
I have remark this bug during solving reconnection of multi -association.
So normally it is fixed in the branch.

I will waiting for your feedback, before fix this bug.
Comment 2 Patrick Tessier CLA 2011-02-28 08:05:25 EST
I close the bug