Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340633 - [ClassDiagram] Deletion of an association make the association nor coherent anymore
Summary: [ClassDiagram] Deletion of an association make the association nor coherent a...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 05:43 EDT by Fabien Gautreault CLA
Modified: 2013-07-05 12:33 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 Fabien Gautreault CLA 2011-03-22 05:43:24 EDT
Build Identifier: 20100617-1415

[ClassDiagram][Connexions]
When an association End is deleted resulting less than 2 association ends, the association is not deleted. It shoud be the case. 
The infrastructure UML specification saids that cardinality of associations are : « memberEnd : Property [2..*] » mean that the deletion of one of its ends make the association not coherent anymore. In addition, undo/redo action is not working in this case.

Then, considering a composite assocaition between 2 classes, Class1 with a property typed class2. Deletion of class1 will also delete the property typed class2. Then the assciation will only contain one memberEnd.

Reproducible: Always
Comment 1 Camille Letavernier CLA 2013-07-05 12:31:04 EDT
Works as expected in the current version; I close this task