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 94637 - Partner View: cannot add faults to appropriate operations
Summary: Partner View: cannot add faults to appropriate operations
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Nathan Fiedler
URL:
Keywords:
Depends on:
Blocks: 89904
  Show dependency tree
 
Reported: 2007-02-06 14:44 UTC by jlautz
Modified: 2007-02-08 18:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot showing context menu for operation without option to add a fault (2.93 MB, application/octet-stream)
2007-02-06 14:45 UTC, jlautz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jlautz 2007-02-06 14:44:26 UTC
Seen on Windows XP with Gavotte build 070206 and JDK 1.5.0_10:

1. Create a new WSDL file using the WSDL wizard and all defaults.
2. Open the new file in the Partner View. 
3. Expand the partnerlinktype.
4. Select the operation (Request-response).
5. Right-click the operation. 

==> there is no option on the context menu to add a fault, as described in
DT-UC-7 of the spec and in feature issue 89004.
Comment 1 jlautz 2007-02-06 14:45:11 UTC
Created attachment 38110 [details]
Screen shot showing context menu for operation without option to add a fault
Comment 2 Nathan Fiedler 2007-02-07 23:51:59 UTC
Add the NewAction back to the list of actions supported by the backing node
of the widgets in the Partner view of WSDL editor (done to fix issue 93489).
Now AbstractWidget defines a FilterNode that removes the NewType classes
that we do not support on the Partner view (e.g. BindingNewType).

Fixed in release551 branch.

wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/grapheditor/widget/AbstractWidget.java;
new revision: 1.1.4.21; previous revision: 1.1.4.20
wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/grapheditor/widget/CollaborationsWidget.java;
new revision: 1.1.2.29; previous revision: 1.1.2.28
wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/grapheditor/widget/MessagesWidget.java;
new revision: 1.1.2.23; previous revision: 1.1.2.22
wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/grapheditor/widget/WidgetFilterNode.java;
new revision: 1.1.2.1; previous revision: 1.1
Comment 3 jlautz 2007-02-08 18:23:42 UTC
Verified on Windows XP with NB 5.5.1 070206 and EP Gavotte 070207_28 with JDK
1.5.0_10.