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.
Summary: | There are two menu items with the same actions in popup menu of wsdl and xsd files | ||
---|---|---|---|
Product: | xml | Reporter: | Vladimir Yaroslavskiy <yaroslavskiy> |
Component: | Code | Assignee: | Sonali Kochar <sonali> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Vladimir Yaroslavskiy
2007-07-26 14:02:06 UTC
Rename action should do simple renaming or should be deleted from popup menu, because the actions can confuse user. Related issue: http://www.netbeans.org/issues/show_bug.cgi?id=110966 The same problem in BPEL project: user doesn't have any chance just to rename wsdl or xsd file without refactoring. I have removed "Rename" action from the popup menu of wsdl and xsd. I looked at java and saw that java only allows rename through refactoring. You cannot rename xsd, wsdl without refactoring because if the xsd, wsdl files are used in some other files, it will result in broken references, resulting in more user error/confusion. Since java doesnt allow rename without refactoring, XML tools will also follow the same protocol. Checking in wsdlui/src/org/netbeans/modules/xml/wsdl/ui/netbeans/module/resources/layer.xml; /cvs/xml/wsdlui/src/org/netbeans/modules/xml/wsdl/ui/netbeans/module/resources/layer.xml,v <-- layer.xml new revision: 1.22; previous revision: 1.21 done Checking in schema/src/org/netbeans/modules/xml/schema/resources/mf-layer.xml; /cvs/xml/schema/src/org/netbeans/modules/xml/schema/resources/mf-layer.xml,v <-- mf-layer.xml new revision: 1.19; previous revision: 1.18 done This commit seems to be causing commit validation to fail in ValidateLayerConsistencyTest.testIfOneFileIsDefinedTwiceByDifferentModulesTheyNeedToHaveMutualDependency; please check: Some modules override their files and do not depend on each other Loaders/text/x-wsdl+xml/Actions/sep-4.instance is provided by: [org.netbeans.modules.xml.wsdlui, org.netbeans.modules.websvc.core] org.netbeans.modules.xml.wsdlui: different attributes = '{position=1900} org.netbeans.modules.websvc.core: different attributes = '{position=1600} Loaders/text/x-wsdl+xml/Actions/sep-3.instance is provided by: [org.netbeans.modules.xml.wsdlui, org.netbeans.modules.websvc.core] org.netbeans.modules.xml.wsdlui: different attributes = '{position=1600} org.netbeans.modules.websvc.core: different attributes = '{position=1400} I have rolled back the changes for the hudson build to proceed. Will investigate why these changes caused the failure and then do putback. Fixed Verified |