Issue Bug Closed

#99154PHP Warning: Undefined array key 1 in ContentObjectRenderer::parseFuncInternal

J. Peter M. Schuler 11/21/22, 12:38 updated 12/06/22, 21:52

Description

TYPO3 v11, /typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 3736
While parsing outer tags there seems to be an undefined array if $stripNL was not set, thus a null coalescing operator should be added.

Probably the 3 lines before this could be fixed as well for the same reason, but I don’t know if ?? null would work and dislike throwing a ?? '' in without having a possibility to test that dedicatedly

Reviews 2

History 25

  1. Gerrit Code Review pushed patch set 1 for main to change 76759 status New Under Review 11/21/22, 12:42

  2. Gerrit Code Review pushed patch set 2 for main to change 76759 11/21/22, 16:24

  3. Gerrit Code Review pushed patch set 1 for 11.5 to change 76776 11/22/22, 23:02

  4. J. Peter M. Schuler commented and changed status Under Review Resolved done 0 % 100 % 11/22/22, 23:05

    Applied in changeset commit:f4fa549d67590bccc4adc53de70322f8267627c4.

  5. Benni Mack changed status Resolved Closed 12/06/22, 21:52