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

Item4318: Invoking the edit script with "onlynewtopic" set to "on" allows an existing topic to be overwritten if "topic" is lower case.

Item Form Data

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

Edit Form Data

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


Using the following to create new "Manual Page" topics from a topic template ...

if the topic is entered in lower case (e.g. 'echo') and the topic already exists, the existing content (e.g. for 'Echo') will quietly be replaced. It appears that the check for onlynewtopic happens before the topic name is converted to upper case.

We're using TWiki to document command-line programs which are typically lower case, so I expect people will forget to capitalize the first letter.

-- TWiki:Main/KenFowkes - 28 Jun 2007

I should have reformatted the form html above to make it viewable here. Sorry! First time. Here's what it would look like:

<form name="new" action="/do/edit/Bugs/">    <input type="text" name="topic" value="CmdName" size="26" />    <input type="submit" class="twikiSubmit" value="Create New Manual Page" />    <input type="hidden" name="templatetopic" value="ManualPageTemplate" />    <input type="hidden" name="topicparent" value="Item4318" />    <input type="hidden" name="onlywikiname" value="off" />    <input type="hidden" name="onlynewtopic" value="on" /></form>


-- TWiki:Main.KenFowkes - 28 Jun 2007

I'm betting that you are on a windows server, which doesn't distinguish between case in filenames.... can you confirm/deny this?


Good bet! Yes, we're on a windows server.

-- TWiki:Main.KenFowkes - 21 Sep 2007

This, like the other case sensitivity changes that we should make will have to wait for a developer to have time. Sorry.

 -- SvenDowideit - 23 Nov 2007

Summary Invoking the edit script with "onlynewtopic" set to "on" allows an existing topic to be overwritten if "topic" is lower case.
ReportedBy TWiki:Main.KenFowkes
Codebase 4.1.2
SVN Range TWiki-4.1.2, Thu, 28 Jun 2007, build 14298
AppliesTo Engine

Priority Normal
CurrentState New
WaitingFor a windows developer

TargetRelease n/a

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