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.
[pilsen fcs rc4] How to reproduce: 1) create a JSP or HTML 2) show its properties 3) click to elipsis in name property 4) enter name to more than one line (hello \n ddd \n ...) 5) save it 6) execute it - a warning dialog appears saying: it is impossible to execute the object.
Now I am getting different behavior: file can not be renamed, which is indicated by an exception which appears in a dialog box (attached). Assigning to openide, as this behavior is common to all objects (e.g. a txt file), not just JSPs and HTMLs.
Created attachment 2522 [details] The exception
special property editor for 'name' which does not allow \n \t \r,...?
Should be fixed in trunk now (PropertyPanel 1.79). The user should be notified accordingly.
Exception doesn't arise now, but user isn't infomed accordingly, in my opinion. If you try to rename some java file and you type "xx xx" as the name, after pushing OK button nothing happends and Property Editor is still opened. Is this behaviour as designed, David ?
No it is not. But it does not behave that way in dev build. After renaming the java file to "xxx xx" the user is notified with information that the name cannot be changed.
verified in [nb_dev](20011116) and for rename problems I have opened new issue 17772
Resolved for 3.4.x or earlier, no new info since then -> closing.