Ticket #5259 (closed defect: duplicate)

Opened 9 months ago

Last modified 9 months ago

_Templated.buildRendering transforms 0 and false replacement param values to ""

Reported by: guest Owned by:
Priority: high Milestone: 1.0.2
Component: Dijit Version: 1.0
Severity: critical Keywords:
Cc:

Description

[10979] added the following line to _Templated.buildRendering:

if(!value){ return ""; }

Which means that if a template references a widget property that is 0 or false, that property will effectively be ignored. Was this really meant to handle null values?

Associated forum post

Change History

Changed 9 months ago by peller

  • status changed from new to closed
  • resolution set to duplicate

see #5226

Note: See TracTickets for help on using tickets.