Issue Bug Closed

#81619stdWrap_override does not override the current value if new value is "0"

Gleb Levitin 06/19/17, 16:14 updated 09/08/26, 10:03

Description

IS STATE

EXT:sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php::stdWrap_override does not override $content variable with a value, if this new value consists of a single symbol “0”. This is for example necessary, if a result of TypoScript condition should be overriden.

SHOULD STATE

It should be at least possible to override the existing TypoScript content with a string containing a single symbol “0”.

Further considerations

It must be also considered, whether every content presenting in $conf['override'] should be taken as replacement. In case, if overriding should not occur due to appropriate override condition, than $conf['override'] key can be completely removed from $conf array. The only test, if the content is to be overridden can then be alone the existence of $conf['override'].

Reviews 2

History 47

  1. Benjamin Kott commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-08-26T23:30:13+00:00" > 08/26/26, 23:30 </span>

    Applied in changeset commit:9c1edc3e5771a0b4f209d5b12bbbc05804216521.