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 - Dragging elements works incorrect for structured activities
Summary: Dragging elements works incorrect for structured activities
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 15:34 UTC by Mikhail Kondratyev
Modified: 2006-07-24 11:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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