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 95341 - can not drag and drop and imported schema element onto message view
Summary: can not drag and drop and imported schema element onto message view
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Nathan Fiedler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 01:04 UTC by Ritesh Adval
Modified: 2007-02-28 19:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ritesh Adval 2007-02-13 01:04:26 UTC
Here are the steps to reproduce:

(1) create a wsdl file.
(2) import a schema (attached)
(3) go to partner view and add a new message message1.
(4) go to navigator, expand the types section, expand the import node with label
http://j2ee.netbeans.org/wsdl/purchaseOrderService
(5) expand referenced schema node, expand import node with label
http://wlmse.sample/po
(6) expand elements node, drag and drop element orderReply to message view.

note that drop is not allowed. drop is allowed of a schema element which is
inline defined in wsdl but not the imported schema element.

it seems imported schema node does not have schema component in the node's
transferable/looup or something similar is missing
Comment 1 Nathan Fiedler 2007-02-13 02:18:02 UTC
Fixed in release551 branch.

schema/schemaui/src/org/netbeans/modules/xml/schema/ui/nodes/categorized/ReadOnlySchemaComponentNode.java;
new revision: 1.1.2.9.8.3; previous revision: 1.1.2.9.8.2
Comment 2 jlautz 2007-02-14 20:42:16 UTC
Verified on Windows XP with EP Gavotte 070214_2 and JDK 1.5.0_10.