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.

Item10794: Foswiki::Func::renderText cannot return a result which is a "0" zero

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine    
Two key functions make a mess of the string "0"

Foswiki::Func::renderText("0") returns ''

$response->print("0") doesn't print anything.

Of these, the second is the most urgent, as it means you can't return 0 as a result from a REST function.

-- CrawfordCurrie - 25 May 2011

usual story: ($crap || '')

-- CrawfordCurrie - 25 May 2011

Updated headline so it is useful as a one liner in release notes.

Also set target release and released in. Please help your favorite release manager in getting the data right so we can present a reasonably correct release note.

-- KennethLavrsen - 25 May 2011

 

ItemTemplate edit

Summary Foswiki::Func::renderText cannot return a result which is a "0" zero
ReportedBy CrawfordCurrie
Codebase 1.1.3, trunk
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins Foswikirev:11760 Foswikirev:11761
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r5 - 17 Dec 2011, GeorgeClark
 
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