| Summary: | [class diagram] N-arary recursive association branches are mislabelled | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Ed Willink <ed> |
| Component: | Core | Assignee: | Patrick Tessier <Patrick.Tessier> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
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. I close the bug |
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.