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.
- Create sample PO schema - Make some change in the schema view or source view and do not save. - In the project explorer do file rename or refactor file rename. Will see a error or information dialog during execution of the file rename refactoring.
The cause is file is lock when editor buffer is dirty. The fix is to do a save of the target data object before do file rename.
Fix checked in release55_dev. /cvs/xml/refactoring/src/org/netbeans/modules/xml/refactoring/spi/Attic/SharedUtils.java,v <-- SharedUtils.java new revision: 1.1.2.7.2.2; previous revision: 1.1.2.7.2.1 /cvs/xml/refactoring/src/org/netbeans/modules/xml/refactoring/impl/Attic/RefactoringUtil.java,v <-- RefactoringUtil.java new revision: 1.1.2.13.2.3; previous revision: 1.1.2.13.2.2 /cvs/xml/schema/core/test/unit/src/org/netbeans/modules/xml/schema/core/Attic/SchemaRefactoringTest.java,v <-- SchemaRefactoringTest.java new revision: 1.1.2.15.2.5; previous revision: 1.1.2.15.2.4
Created attachment 35088 [details] fix
Fix committed to release55.
Verified in RC4 (061020).