contao/test — Issue #1228: Templates renamed and no change in tl_module but showing new template name in modules
Author: importer
Created: 2011-11-29 07:33:29+00:00
State: open
Labels: Defect, Invalid

Renaming used templates and not changing SQL entries in tl_module but showing new template name in modules:

Hi, I had a problem with TYPOlight after renaming a template. It was ok that the template names being written in cvars in the database, but only if you dont kill the process of the webpage after not finding a template.
Why dont you check if an entry in tl_module.navigaion.Tpl contains the file being renamed and alter this as well.
What happens if I delete the template?? should not the entry in tl_module then be altered back to nav_default?
Or at least ask if these changes should be made.
e.g. "You are renaming/deleting an existing template, alter all navigation modules containing these templates?"

or at least dont write the new template file in the modules Navigationstemplate if the old one does exist.
I renamed a navigation template from templateA to templateB. My modulA was using templateA before. When clicking on modulA it said Navigationstemplate:templateB, but the page commited an error, templateA not found in control.php R85. Looking in the Database, my ModulA was still using templateA.

--- _Originally created by the19 on December 2nd, 2009, at 11:47am (ID 1228)_