• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6301: TWiki application in subweb incorrectly looks for template topic in parent web

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Assume a web, Bagelry and a subweb, Bagelry/Testing.

I have a topic, Bagelry/Testing.CreateDoc that contains an HTML form:

<form name="Create" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%"}%?" " >
  <td>Enter topic name: </td>
     <input type="text" name="topic" value="EnterDocName" size="50" />
     <input type="hidden" name="templatetopic" value="NewDocTemplate" />
     <input type="hidden" name="onlynewtopic"  value="on" />
     <input type="submit" value="Create Page" />

This should create a new topic in Bagelry/Testing, using the template topic Bagelry/Testing.NewDochTemplate

Instead, I get an error from Bagelry


The workaround is to be very specific

     <input type="hidden" name="templatetopic" value="Bagelry/Testing.NewDocTemplate" />

However, this should not be necessary. TWiki should always look in the current web (and we're in Bagelry/Testing.)

-- TWiki:Main/VickiBrown - 14 Aug 2009

Summary TWiki application in subweb incorrectly looks for template topic in parent web
ReportedBy TWiki:Main.VickiBrown
Codebase 4.2.4
SVN Range TWiki-5.0.0, Sat, 18 Apr 2009, build 18024
AppliesTo Engine

Priority Normal
CurrentState New


TargetRelease n/a

Topic revision: r1 - 2009-08-14 - VickiBrown
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback