Bug #23667 Accepted

Editing template group name with only character case change throws exception

Version: 4.3.2 Reporter: obfuscode

If you create a template group and then edit that group to change the case of a character, it throws an exception:

Original Template Group Name: “Testing” (accidentally capitalized it) Attempted Rename: “testing”

Folder in /system/user/templates was “Testing.group” Docker Centos Nginx stack

Exception Caught
Cannot rename, destination already exists: user/templates/default_site/testing.group

Stack Trace: Please include when reporting this error
#0 ee/EllisLab/ExpressionEngine/Model/Template/TemplateGroup.php(110): EllisLab\ExpressionEngine\Library\Filesystem\Filesystem->rename('...', '...')
#1 [internal function]: EllisLab\ExpressionEngine\Model\Template\TemplateGroup->onAfterUpdate(Array)
#2 ee/EllisLab/ExpressionEngine/Service/Model/Model.php(824): call_user_func_array(Array, Array)
  • The pound symbol for the exception stack trace lines made markdown think they were Heading 1s… sorry about that.

    11th July, 2018 at 10:19am

You must be signed in to comment on a bug report.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases