Issue Bug Closed

#75493stdWrap properties executed twice (patch provided)

Olaf Schmidt-Wischhöfer 04/11/16, 11:13 updated 10/02/18, 11:19

Description

The method stdWrap of class \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer includes a check to prevent duplicate execution of sub-properties for recursive stdWrap functions and cObjects. This check only words in some of the cases.

Example:

page = PAGE
page.10 = TEXT
page.10.stdWrap.append = TEXT

Result: “append” is printed twice in the TypoScript section of the admin panel.

Workaround:

page = PAGE
page.10 = TEXT
page.10.stdWrap =
page.10.stdWrap.append = TEXT

A patch is attached.

I tested the bug fix with version 6.2.19. I also compared the code of current HEAD in git.typo3.org and saw no change – so the fix should be applied to all branches.

Reviews 1