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.

Bug 127108

Summary: Copy and Pasting provides erronous new filename
Product: ruby Reporter: algnod <algnod>
Component: RailsAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description algnod 2008-02-11 10:58:44 UTC
This is a very minor issue:

- Copy an existing erb file like
index.html.erb

- and paste it into the the same directory
- its new name will be
index.html_1.erb

- because the "html" is significant to rails you should not change this part of the name.
"html_1" is not a valid format.
Instead the new name should be something like

index_1.html.erb

People are bound to change the name to something else anyway, so I do not really know if this is a real issue.
Comment 1 Erno Mononen 2008-02-29 09:43:06 UTC
Right, will try to fix for 6.1. I guess this is more like a P4 though since, as you said, people will usually rename 
the copied file anyway.