You are here: Foswiki>Tasks Web>Item13625 (10 Oct 2015, GeorgeClark)Edit Attach

Item13625: AutoViewTemplatePlugin: reports Invalid template name ( Warning: Can't find named section viewtemplate in topic...) when used in "section" mode and no section exists.

pencil
Priority: Urgent
Current State: Closed
Released In: 2.0.2
Target Release: patch
Applies To: Extension
Component: AutoViewTemplatePlugin
Branches: master
Reported By: KennethLavrsen
Waiting For:
Last Change By: GeorgeClark
I get the error

AutoViewTemplatePlugin: Invalid template name ( Warning: Can't find named section viewtemplate in topic PackageForm ) - contains non-ASCII characters

any time I look at a plugin topic in system web that uses the PackageForm

-- KennethLavrsen - 18 Aug 2015

Note that I use {Plugins}{AutoViewTemplatePlugin}{Mode} = section

-- KennethLavrsen - 18 Aug 2015

This is caused when the expansion of the "section" returns a not-found warning. The new validation code then fails. So the error was always there but ignored. Now that the code validates the template names, it falls over.

-- GeorgeClark - 18 Aug 2015

Also fixed for AutoTemplatePlugin in Item13642

-- MichaelDaum - 31 Aug 2015
 

ItemTemplate edit

Summary AutoViewTemplatePlugin: reports Invalid template name ( Warning: Can't find named section viewtemplate in topic...) when used in "section" mode and no section exists.
ReportedBy KennethLavrsen
Codebase 2.0.1, trunk
SVN Range
AppliesTo Extension
Component AutoViewTemplatePlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:40b77a99bee7
TargetRelease patch
ReleasedIn 2.0.2
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:40b77a99bee7
ItemBranchCheckins
Release01x01Checkins
Topic revision: r5 - 10 Oct 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy