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 137135

Summary: User-created connection needs to be deleted twice in order for the connection not to be generated.
Product: soa Reporter: Jun Qian <jqian>
Component: Composite ApplicationAssignee: Jun Qian <jqian>
Status: REOPENED ---    
Severity: blocker CC: tli
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jun Qian 2008-06-12 21:11:11 UTC
Steps to reproduce:

1. Create SynchronousSample
2. Build SynchronousSampleApplication
3. Open CASA Editor
4. DnD a new SOAP binding from palette
5. Create a new connection between the new SOAP port's consume endpoint and the BPEL SU's provide endpoint. 
6. Delete the newly created connection
7. Build SynchronousSampleApplication again

The deleted connection comes back. The user has to explicitly delete the auto-generated connection in order for the
compapp project to "remember" the user's decision.
Comment 1 Sergey Lunegov 2008-10-01 14:12:39 UTC
Changed target milestone.
Comment 2 Jun Qian 2008-10-17 23:58:53 UTC
Fixed in sierra: http://hg.netbeans.org/soa-dev/rev/234a7fec890d
Comment 3 schmandt 2008-10-24 06:12:35 UTC
looks like it works OK on 1023 buid
Comment 4 Jun Qian 2008-10-31 00:52:27 UTC
Fix reverted: http://hg.netbeans.org/soa-dev/rev/6018bbfca4c7

No longer clear WSDL Port's interface when deleting connection. The previous fix caused several issues:

1. BC-to-BC scenario is broken. Extra step is needed to configure the WSDL Port's interface before making the BC-to-BC
connection.

2. User-set interface on WSDL Port is removed once the connection involved is deleted. The user has to re-set the WSDL
Port interface, which is kinda annoying.