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.
See also bugtraq bug 4363783. When a new object is created from template, the extension is automatically added. However, when the user enters the extension as a part of the object's name, this is not detected, and the resulting object has two extensions (such as page.jsp.jsp). The New From Template dialog should somehow detect this situation and handle it gracefully.
Closing it as wontfix. I guess if somebody wants to include the dots in filename, so just leave him to do that. On the other hand maybe there could be some info which extenstion is going to be appended to the filename. For sure adding Jiri as UI to CC. Please reopen it if some concrete solution will arise. And probably change it rather to enhancement.
In 99.9% of the cases when the user types newfile.txt, his/her intent is to create newfile.txt, not newfile.txt.txt. So this definitely is a usability issue. I don't have any concrete suggestion as to what the exact behavior should be, this should be designed by the UI group. Reopening as enhancement.
Target milestone -> 3.3.1.
Target milestone -> 3.4
Reassigning to Marek, evaluate, please. Thsnks.
Exact behaviour needs to be defined by UI.
Suggest that a r/o textfield display the filename that will actually be created. Users would figure out what was going on pretty quickly, I think. Related (I thought I filed this long ago but can no longer find it): "group" templates (*.group, make multiple files) should show you what files will actually be created by them.
I agree that Jesse's proposed solution would be preferable to what we have now.
adding myself to the cc list
Passing to ui.
Planned new file wizard for D does have such a r/o text field.
So, consider fixed.
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.
This issue had *1 votes* before move to platform component