Item2151: EDIT_TEMPLATE with missing edit template makes it impossible to edit the topic
Priority: Urgent
Current State: Closed
Released In: 1.0.8
Target Release: patch
Applies To: Engine
Component:
Branches:
If
EDIT_TEMPLATE
is set and that template is not available in the web, it becomes impossible to edit the topic.
- I have a topic with a form
- I move it to another web that does not have a form
- I want to edit the page to remove the form data
- I get the error screen:
Attention
Could not find template TopFormEditform
Check your configuration settings for {TemplateDir} and {TemplatePath}. If that's not the problem, it may be because you have a setting of EDIT_TEMPLATE that is pointing to a template that doesn't exist.
EDIT_TEMPLATE is currently set to TopFormEditform
(don't forget to check your Topic Settings)
Now I am locked. No possibility to make any changes to the topic, and no hint what to do.
--
ArthurClemens - 23 Sep 2009
Last resort hack:
http://....edit/Web/Topic?template=edit
: the url param overrides the invalid topic setting.
--
MichaelDaum - 23 Sep 2009
A normal end user will never be able to fix the problem. He will not know about the hack.
I have fixed the code so instead we fall back to the normal edit template and add an entry in the warn log.
--
KennethLavrsen - 17 Oct 2009