You are here: Foswiki>Tasks Web>Item128 (08 Jan 2009, KwangErnLiew)Edit Attach

Item128: Error in oopsmore

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: patch
Applies To: Engine
Component: oopsmore.tmpl
Branches:
Reported By: AndreLichtsteiner
Waiting For:
Last Change By: KwangErnLiew
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy