• 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.

Item5182: "save" does not treat bad templatetopic as an error

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch  

Edit Form Data

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


Given an HTML form like this:

<form action='%SCRIPTURLPATH{"save"}%'>
  <input type="hidden" name="templatetopic" value="YourTemplate" />
  <input type="hidden" name="onlynewtopic" value="on" />

save does not produce an error (an "oops") page if the specified templatetopic does not exist. Instead, it happily creates a page without using any template and saves it.

If templatetopic is specified, it should be an error if that topic cannot be found.

-- TWiki:Main/VickiBrown - 30 Dec 2007

Confirmed. I can't think of a circumstance under which a silent failure is required. I added a unit test.


Fixed in MAIN, but not in TWikiRelease04x02.


Summary "save" does not treat bad templatetopic as an error
ReportedBy TWiki:Main.VickiBrown
Codebase 4.0.5
SVN Range TWiki-4.3.0, Tue, 18 Dec 2007, build 16029
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins TWikirev:16119 TWikirev:16120
TargetRelease patch

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2008-08-04 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback