Issue Bug Closed

#99706PHP Warning:Undefined array key "." in /typo3_src-11.5.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 3451 and 3467

Thomas Hohn 01/24/23, 17:32 updated 02/08/23, 16:04

Description

PHP Warning:Undefined array key “.” in /typo3_src-11.5.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 3451 and 3467.

There seems to be a missing check if $tagName evaluates to the empty string.

Reviews 2

History 39

  1. Gerrit Code Review pushed patch set 1 for main to change 77593 status New Under Review 01/24/23, 17:38

  2. Gerrit Code Review pushed patch set 2 for main to change 77593 01/24/23, 17:59

  3. Thomas Hohn commented 01/24/23, 18:42

    Thomas Hohn wrote:
    > PHP Warning:Undefined array key “.” in /typo3_src-11.5.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 3451 and 3467.
    >
    > There seems to be a missing check if $conf[‘externalBlocks.’][$tagName . ‘.’] evaluates to null

  4. Gerrit Code Review pushed patch set 3 for main to change 77593 01/24/23, 18:45

  5. Gerrit Code Review pushed patch set 4 for main to change 77593 01/24/23, 18:45

  6. Gerrit Code Review pushed patch set 5 for main to change 77593 01/24/23, 18:51

  7. Gerrit Code Review pushed patch set 1 for 11.5 to change 77576 01/24/23, 20:51

  8. Thomas Hohn commented and changed status Under Review Resolved done 0 % 100 % 01/24/23, 20:55

    Applied in changeset commit:028e6a7a2737501cd41c8a36845f18786b3a0b6b.

  9. Benni Mack changed status Resolved Closed 02/08/23, 16:04