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

Bug 362991

Summary: [SysML Block Definition Diagram] Confusion in management of flow-ports in show/hide content dialog
Product: [Modeling] Papyrus Reporter: Alain Le Guennec <alain.leguennec>
Component: CoreAssignee: Remi Schnekenburger <rschnekenburger>
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-11-06 08:52:51 EST
There is some confusion in the management of flow-ports in the show/hide content dialog for a block on a BDD.
-Put a block on a BDD, make sure only its "flowport" compartment is shown.
-Add a flowport to that block from the model explorer.
-D&D the flowport within the block's flowport compartment.
-D&D the flowport onto the block's frame.
From now on, the flowport is displayed twice.
-Go to the show/hide content dialog.
 The flowport is ticked.
-Untick it and validate
 => The flowport disappears from the flowport compartment, but is still displayed on the frame.
-Open the show/hide content dialog again.
 The flowport is still ticked.
-Untick it again and validate
 => The flowport disappears from the block frame this time.
-Open the show/hide content dialog again.
 The flowport is now unticked.
-Tick it and validate
 => The flowport reappears on the block frame, but it is not possible to have it appear in the flowport compartment from this dialog.

Either the show/hide content dialog should not deal with flowports on the block frame, or it should consider the block frame as a special kind of compartment of itself.
Comment 1 Remi Schnekenburger CLA 2012-01-11 04:09:06 EST
fixed in r6581 in branch 0.8.X, bug fix put in trunk in r6695