Item13408: Very confusing behaviour when an edit template topic is created
Priority: Normal
Current State: Proposal Required
Released In: n/a
Target Release: minor
Applies To: Engine
Component:
Branches:
If you have a topic with a form named "XxxxForm" and another topic "XxxxEdit" (as might happen in a user web) then
AutoViewTemplatePlugin will pick up "XxxxEdit" as the template for an edit, resulting in very confused users shouting and crying on IRC (yes, that was me).
http://irclogs.foswiki.org/bin/irclogger_log/foswiki?date=2015-05-18,Mon&sel=73#l69
Personally I think this is unusable. At the very least this has to have the life documented out of it.
--
CrawfordCurrie - 18 May 2015
The template topic should be (IMHO) called, either
- FormnameEditTemplate
- or simply EditTemplate (with the stripped Formname for the general template for the Editing in the given web)
but sure
not the plain
FormnameEdit - (without the Template suffix) e.g.
any template topics
should be has the suffix
Template
always. (just IMHO).
--
JozefMojzis - 18 May 2015
This is exposing the way templates are looked up while following the template search path. You can disable
AutoViewTemplatePlugin an simulate the same behavior using url params. Changing the way templates are looked up needs a feature proposal. It surely is not an urgent task as normal operations aren't broken.
--
MichaelDaum - 27 Sep 2016