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.
Seen with Product Version: NetBeans IDE Dev (Build 200802191203) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: SunOS version 5.10 running on x86; ISO646-US; en (nb) Userdir: /Users/lautz/.netbeans/dev Scenario A. Trying to delete a partnerlinktype: 1. Create a new WSDL document using the WSDL wizard and clicking Next, Next, Finish to accept all defaults. 2. In the WSDL view for the new document, rt-click the <filename> parterlinktype, and choose Delete from the context menu (or press the Delete key). 3. Click the Refactor button in the Safe Delete dialog. => I get a dialog that says: Cascade delete in BPEL is supported for property alias only. I have the choice only to cancel or go back. Screenshot is attached. Scenario B: I get the same behavior and message if I try to delete the partnerlinktype in the Partner view. Scenario C: I get similar behavior and the same message if I try to delete a property. I can delete a property alias without even getting the Safe Delete dialog. Workaround: delete the partnerlinktype or property in the Source WSDL view.
Created attachment 56958 [details] Screenshot showing warning and inability to delete.
This problem affects WSDL automated tests in wsdl1003.
Was this partnerlinktype being used by any bpel? If not, then its a bug.
Noticed that though the partnerlinktype was not used by any other artifact like bpel, this error is being thrown, which is wrong. Assigning to the bpel refactoring team to look at this and fix this. Unless there is a usage, user should be able to delete anything. In this case, find usages does not show any usages.
fixed.