Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

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 Rev 594 not found distro:f98d7f5cc6fd
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 License