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 159304 - Copy and paste XSD does not work correctly
Summary: Copy and paste XSD does not work correctly
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: Schema (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-27 12:15 UTC by Kirill Sorokin
Modified: 2011-11-11 07:38 UTC (History)
0 users

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 Kirill Sorokin 2009-02-27 12:15:45 UTC
- Create a new BPEL process
- Create a new XML schema in it
- Select the schema, press Ctrl+C
- WITHOUT changing selection (i.e. the schema node is still selected), press Ctrl+V
- Click Refactor in the dialog

A new folder called 'src' will be created and the pasted schema will be put in there. This is incorrect, as I would
expect the pasted schema to appear in the same folder as the selected one (or the paste action be disabled unless a
folder is selected). The same behavior can be seen for schemas in WLM project, but WSDL files work correctly in both.
Comment 1 Vladimir Yaroslavskiy 2009-03-06 13:45:11 UTC
It is not BPEL specific: I create other type project (Java), create new schema, Ctrl-C, Ctrl-V - the same behaviour,
reassign to XMl category
Comment 2 Svata Dedic 2011-11-11 07:38:10 UTC
Please be more specific in the "plain" use case steps: do you mean Ctrl-C/V in the Projects view - or other place ? Did you copy/paste the schema file, or did you use the xmltools4netbeans community plugin ?