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 - Copy and Pasting provides erronous new filename
Summary: Copy and Pasting provides erronous new filename
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-11 10:58 UTC by algnod
Modified: 2011-01-28 20:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.