This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79106

Summary: Dragging elements works incorrect for structured activities
Product: soa Reporter: Mikhail Kondratyev <mikk>
Component: BPELAssignee: Denis Anisimov <ads>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Mikhail Kondratyev 2006-06-26 15:34:22 UTC
Dragging activities works incorrect in the structured activities under the
certain conditions. Steps to reproduce:
 - create a new BPEL process
 - open it in designer
 - create a structured activity (While for example)
 - create a sequence (you can create any other structured activity) in the While
activity
 - create an Empty (or any other activity) activity in the Sequence
 - drag the sequence out of the While - the Sequence will be dragged successfully
 - drag the sequence back to it's original position
 - now try to drag Empty out of the sequence. This will not work
While the scenario is a bit complicated the bug is rather important as it can be
reproduced with all structured activities
Comment 1 Denis Anisimov 2006-06-27 08:58:22 UTC
This problem appears due changes in isInTree method.
When element is added to the tree one need to mark all its children as inInTree.
Not just him itself ( not only added element ).
In described case "empty" was not marked as tree element after manipulations.
Comment 2 Denis Anisimov 2006-06-27 09:50:44 UTC
See previous evaluation.
Comment 3 Mikhail Kondratyev 2006-07-24 11:23:53 UTC
Verified in build from 060723