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

Bug 340633

Summary: [ClassDiagram] Deletion of an association make the association nor coherent anymore
Product: [Modeling] Papyrus Reporter: Fabien Gautreault <fabien.gautreault.ext>
Component: CoreAssignee: Patrick Tessier <Patrick.Tessier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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