#81619stdWrap_override does not override the current value if new value is "0"
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
Related issues 1
History 47
-
Gleb Levitin changed target version Complexity medium <span data-processor="relativetime" data-value="2017-06-19T17:17:56+00:00" > 06/19/17, 17:17 </span>
-
Gleb Levitin changed Related to #76741 <span data-processor="relativetime" data-value="2017-06-19T17:18:12+00:00" > 06/19/17, 17:18 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 95179 status
NewUnder Review <span data-processor="relativetime" data-value="2026-08-08T20:02:48+00:00" > 08/08/26, 20:02 </span> -
Gerrit Code Review pushed patch set 2 for main to change 95179 <span data-processor="relativetime" data-value="2026-08-24T12:18:36+00:00" > 08/24/26, 12:18 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 95439 <span data-processor="relativetime" data-value="2026-08-26T21:58:01+00:00" > 08/26/26, 21:58 </span>
-
Benjamin Kott commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-08-26T23:30:13+00:00" > 08/26/26, 23:30 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-09-08T10:03:31+00:00" > 09/08/26, 10:03 </span>
Applied in changeset commit:9c1edc3e5771a0b4f209d5b12bbbc05804216521.