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

Bug 355107

Summary: [SysML Internal Block Diagram] Changing the owner of a port/part/reference should remove it from IBD
Product: [Modeling] Papyrus Reporter: Alain Le Guennec <alain.leguennec>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse-bugzilla, yann.tanguy
Version: 0.8.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Alain Le Guennec CLA 2011-08-18 11:51:08 EDT
Assume you have a block displayed on an IBD, together with ports, parts or reference.
If a port/part/reference is moved (for instance in the model explorer by D&D) to another owning block, then it should be removed from the IBD, otherwise the diagram does not make sense anymore (and removal should propagate to involved connector if necessary).
Comment 1 Yann Tanguy CLA 2011-08-19 09:38:01 EDT
Fixed in r5275 (0.8.1) & r5276 (trunk).
Comment 2 Alain Le Guennec CLA 2011-09-08 08:55:36 EDT
There's a case for which the fix does not seem to work:
If the owner of a part/ref is changed by changing the source of the corresponding association edge on a BDD, the part/ref is correctly moved to the right block in the browser, but it is not removed from the IBD if it was displayed there.
=> The issue should be REOPENED.
Comment 3 Yann Tanguy CLA 2011-10-07 04:21:46 EDT
Fixed in r5744 (0.8.X) and r5745 (trunk).(In reply to comment #2)
> There's a case for which the fix does not seem to work:
> If the owner of a part/ref is changed by changing the source of the
> corresponding association edge on a BDD, the part/ref is correctly moved to the
> right block in the browser, but it is not removed from the IBD if it was
> displayed there.
> => The issue should be REOPENED.
Fixed in r5744 (0.8.X) and r5745 (trunk).
(see bug 356927)