NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item128: Error in oopsmore

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine oopsmore.tmpl  
Current parent search in 'oopsmore.tmpl' is not case sensitive. It therefore creates an ugly red error message when the same topic name exists more then once in different case writing on case sensitive file systems.

The following changes solves the problem:

51c51
< ---++!! %MAKETEXT{"Current parent:"}% %IF{"'NONE%SEARCH{ "^%TOPIC%$" scope="topic" regex="on" nosearch="on" nototal="on" format="$parent" }%'='NONE'" then="(none)" else='%SEARCH{ "^%TOPIC%$" scope="topic" regex="on" nosearch="on" nototal="on" format="[[$web.$parent][$parent]]" }%' }%
---
> ---++!! %MAKETEXT{"Current parent:"}% %IF{"'NONE%SEARCH{ "^%TOPIC%$" casesensitive="on" scope="topic" regex="on" nosearch="on" nototal="on" format="$parent" }%'='NONE'" then="(none)" else='%SEARCH{ "^%TOPIC%$" casesensitive="on" scope="topic" regex="on" nosearch="on" nototal="on" format="[[$web.$parent][$parent]]" }%' }%


applied. -- SvenDowideit

ItemTemplate edit

Summary Error in oopsmore
ReportedBy AndreLichtsteiner
Codebase
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Engine
Component oopsmore.tmpl
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:594 Foswikirev:595
TargetRelease patch
ReleasedIn
Topic revision: r8 - 08 Jan 2009, KwangErnLiew
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads