Help - Search - Members - Calendar
Full Version: Templates cannot use square brackets
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
dvd
A couple of my templates have names which use square brackets, e.g. "Archives [Monthly]", and MT has had no problem with this naming convention until I upgraded from 3.11 to 3.12, upon which I got the following error when attempted to view the Templates page of the MT interface:

QUOTE
Error in maketexting "Archives [Monthly]": Can't locate object method "Monthly" via package "MT::L10N::en_us" in bracket code [compiled line 2], as used at lib/MT.pm line 1105


It would not let me view the Templates page at all. I had to go into my database via phpMyAdmin and rename the templates so that they didn't use square brackets.

I can reproduce this bug by creating a new template which uses square brackets in the name, then attempting to view the list of templates in the MT interface, but if you want to check this out for yourself be warned: you'll need to use phpMyAdmin or similar to delete the template's entry from the MT database to regain functionality.
arvind
Version 3.121 should fix this. It has been released to the "My Account" for downloading but as of now there is no front page post about it!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.