Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320862 - [class diagram] N-arary recursive association branches are mislabelled
Summary: [class diagram] N-arary recursive association branches are mislabelled
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 01:10 EDT by Ed Willink CLA
Modified: 2015-06-26 15:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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