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 on Windows XP with EP Gavotte 070220_4 and JDK 1.5.0_10. I'm just lumping these all in one bug, because it's been a long day, and they're all related to cut/copy/paste in partner view: 1. right-click context menu for the partnerlinktype or messages containers always has cut & copy active, even when no widgets are selected. 2. cut/paste a partnerlinktype from one WSDL doc to another in Partner view: the pasted PLT is expanded. copy/paste a PLT from one WSDL doc to another in Partner view: the pasted PLT is collapsed. (?) 3. after cutting or copying a PLT, the context menu Paste action is active almost wherever you right click. (see also issue 96391). 3.a Pasting when a part is selected puts the PLT into the source in the message element. 3.b. Pasting when a role is selected puts the PLT within the PLT of the role in the source file. 3.c. Pasting when a port type is selected puts the PLT within the PLT of the port type in the source file. (Paste is NOT available when operation or message type is selected.) 4. After cutting/copying a role, can't figure out what to do where I can paste? 5. Cut/copy a port type, then paste into the same document's container creates a new copy of the port type element with a unique default name (visible in source and WSDL views), but no clue that anything happened in Partner view. 6. Cut/copy + paste of an operation between documents (port type to port type) performs only a shallow copy: if the pasting document does not have the message types defined, the message types are undefined in the new copy of the operation. That's OK, but maybe a doc concern? 7. Cut/copy + paste an input/output message type from one operation into another (same document): new input elements are added to the pasting operation, but they are only visible in the source and WSDL views -- no clue is visible in Partner view. 8. Cut/copy + paste a fault message type from one operation to a one-way operation (same document): adds new fault elements to the operation, even though that isn't value. The fault is not visible in the Partner view -- just WSDL and source views. (Cut/copy + paste messages and parts only allow pasting in message containers or parts, respectively, and show the new elements being added in the Partner view.)
1. After fixing issue 94801, this no longer occurs. 2. Widget is expanded if it was expanded to start with. The described inconsistency is not reproducable. 3. This is a model issue, please file a new bug in wsdl model category. 4. Issue 96396 prevents testing this. Please enter a new issue for this (with a dependency on issue 96396). 5. This is expected, port types do not appear in the Partner view until they are assigned to a Role (which themselves do not appear in the view until they are assigned to a PLT). 6. Please file a doc issue. 7. Please file a separate issue. 8. This can be included with new issue for #7. Marking worksforme since this issue has now been dissected into pieces, the remains of which no longer reproduce or are not bugs.
Verified on Windows XP with Hula 070329_14 and JDK 1.6.0_1: 1. Has been fixed. If a context menu is active (unless outside of a widget), the widget is selected. If there is no widget, cut/copy are not available. 2. Seems to be working now. 3. Paste only seems to be available when it would make sense to paste something there. 4. I can cut/copy a role, and paste it in the WSDL view when a partnerlink type is selected. Not intuitive, but kinda makes sense. 5. You can now cut/copy a port type, but not paste it except when a Port Types node in WSDL or Navigator view is selected. Or when a Port Type is selected in the Partner view. 6. Will copy jstein with the possible doc issue. 7. Not allowed to do this anymore. Paste is not allowed on a message type -- user needs to choose from dropdown list. 8. Logged as new issue 99486.