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

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 distro:d725edd8d10a distro:74ea4b6235eb
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 License