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 142771

Summary: Property Editor should not allow to delete existing variables
Product: soa Reporter: Vladimir Yaroslavskiy <yaroslavskiy>
Component: BPELAssignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: VERIFIED FIXED    
Severity: blocker CC: sustaining
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Yaroslavskiy 2008-08-04 10:56:34 UTC
1. In the Property Editor for BPEL activity say Reply, browse to the Output Variable Chooser.
-- The window lists the variables list.

2. Delete the variable.

3. Notice the OK button is disabled, but the variable deleted in 2 gets reflected in the BPEL. The variable is removed
when the Reply activity is referencing it in the BPEL.

I think when deleting the variable the validation check should have prevented to delete when its being referenced by
other activities.
Comment 1 Vladimir Yaroslavskiy 2008-08-04 10:58:42 UTC
related CR 6726795
Comment 2 Vladimir Yaroslavskiy 2008-08-04 11:06:08 UTC
Buttons Add, Edit, Remove have been removed.
changeset in trunk: 90a95a0b89e1
Comment 3 rbalada 2008-08-04 15:53:46 UTC
Please note that NetBeans 6.1 Patch3 cut-off is going to happen on close of
business August 5th. If you would like to have bugfix for this issue as part of
NetBeans 6.1 Patch3, then this issue must have information about bugfix' trunk
changeset and it's status must be "VERIFIED".
Comment 4 Vladimir Yaroslavskiy 2008-08-05 07:46:27 UTC
verified with netbeans-hudson-trunk-3250.
changeset http://hg.netbeans.org/main/rev/90a95a0b89e1
Comment 5 rbalada 2008-08-05 11:46:32 UTC
I've transplanted the changeset http://hg.netbeans.org/main/rev/90a95a0b89e1 into release61_fixes repository as
http://hg.netbeans.org/release61_fixes/rev/43ed6e6f450b