avatar brianteeman
brianteeman
24 Aug 2016

Steps to reproduce the issue

Go to the template manager and select one of the templates
On the toolbar select new file and create a new file eg brian.php
Now select the newly created file and on the toolbar select rename file and try to give it a new name eg simon.php

Expected result

File is renamed to simon.php

Actual result

Invalid file name. Please choose a file name containing a-z, A-Z, 0-9, - and _.

System information (as much as possible)

Tested on 3.6.2 and current staging

avatar brianteeman brianteeman - open - 24 Aug 2016
avatar C-Lodder
C-Lodder - comment - 24 Aug 2016

This is because you need to type in the file name only, not the extension too (.php in this case). If you simply type in "simon", it will work.

I'll submit a PR for this

avatar brianteeman brianteeman - change - 24 Aug 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-08-24 16:15:22
Closed_By brianteeman
avatar brianteeman brianteeman - close - 24 Aug 2016
avatar brianteeman
brianteeman - comment - 24 Aug 2016

Good spot - closing

avatar brianteeman brianteeman - close - 24 Aug 2016

Add a Comment

Login with GitHub to post a comment