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

Bug 320098

Summary: [class diagram] Properties are not deleted (updated) when association between classes is deleted
Product: [Modeling] Papyrus Reporter: benoit.jacquelin
Component: CoreAssignee: Remi Schnekenburger <rschnekenburger>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description benoit.jacquelin CLA 2010-07-16 08:45:54 EDT
Build Identifier: 20100318-1801

In a class diagram, when a class is created (for example class A) and then if this class has an association with another one (for instance class B), B becomes a property of class A. Then if the association between the two classes is deleted, the properties of class A are not updated. B stays a property of class A. So to delete an association, you have to delete the association and the corresponding property in the class instead of deleting only the association. 

Reproducible: Always

Steps to Reproduce:
1.Create 2 classes in a class diagram
2.Create an association between the 2 classes
3.Delete the association
4.Look at the properties of the class which had the association before.
Comment 1 Remi Schnekenburger CLA 2010-07-20 05:27:22 EDT
fixed in r2422.