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

Bug 358366

Summary: [Property View] Not possible to change the owner of member end from association to interface in Properties view
Product: [Modeling] Papyrus Reporter: yirco <netswengineer>
Component: CoreAssignee: Camille Letavernier <cletavernier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.8.1   
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Whiteboard:

Description yirco CLA 2011-09-21 04:06:23 EDT
Hi,

Reproduction:

*) Create a class diagram
*) Create interface A
*) Create interface B
*) Create an association from A to B.
*) Click the association and change the owner of the member end from Association to Classifier in the Properties view.
*) Click on a different element
*) Click back on the association and the member end is owned again by the association and not by the classifier - interface.

However, it is possible to do that by moving the property from the association to the interface in the Model explorer.

According to the UML specification Interface is a classifier and can own properties. So it shall be allowed to do that in the Properties view of the association.
Comment 1 Camille Letavernier CLA 2011-09-21 07:11:14 EDT
It should be fixed for all classifiers now.

Fixed in r5523 (Branch 0.8.X)
Merged to the trunk in r5524
Comment 2 yirco CLA 2011-09-22 03:16:25 EDT
(In reply to comment #1)
> It should be fixed for all classifiers now.
> 
> Fixed in r5523 (Branch 0.8.X)
> Merged to the trunk in r5524

OK, thank you. I will be able to test it when it gets to 
Development update sites (version 0.8.1):
http://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/indigo
Comment 3 yirco CLA 2011-09-22 14:39:21 EDT
(In reply to comment #2)
> (In reply to comment #1)
> > It should be fixed for all classifiers now.
> > 
> > Fixed in r5523 (Branch 0.8.X)
> > Merged to the trunk in r5524
> 

I tested it for interfaces and it works correctly now.