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.
This is in a file system implemented from AbstractFileSystem. When you attempt to rename a file and include disallowed characters such as '/' (because the rename is only meant to be within a folder) then a warning dialog pops up with the message: Cannot rename file folderA/file.txt in FSName to folderB/file.txt.. New file exists: {3}. Rename result: {4}. As you can see there is missing text replacement. This isn't a problem for the file-based file system because it uses a different resource bundle. The resource bundle that needs to be modified is openide.filesystems/src/org/openide/filesystems/Bundle.properties and the property is: EXC_CannotRename=Cannot rename file {0} in {1} to {2}. New file exists: {3}. Rename result: {4}. As far as I can see, the key is only used a couple times; both within org.openide.filesystems.AbstractFileObject. Both usages only provide 3 parameters so the part starting at "New file" should just be gotten rid of to make it similar to masterfs/src/org/netbeans/modules/masterfs/filebasedfs/Bundle.properties which just has: EXC_CannotRename=Cannot rename file {0} in {1} to {2}.
ergonomics#83456140df59
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/83456140df59 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #197775: Using special bundle key for three arguments message