You are here: Foswiki>Tasks Web>Item10794 (17 Dec 2011, GeorgeClark)Edit Attach

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

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