Project

General

Profile

Actions

Bug #81619

open

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

Added by Gleb Levitin over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
TypoScript
Start date:
2017-06-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.0
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

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'].


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #76741: Add unit test to cover stdWrap_overrideClosedElmar Hinz2016-06-22

Actions
Actions #1

Updated by Gleb Levitin over 7 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
  • Complexity set to medium
Actions #2

Updated by Gleb Levitin over 7 years ago

  • Related to Task #76741: Add unit test to cover stdWrap_override added
Actions

Also available in: Atom PDF