Project

General

Profile

Actions

Bug #99154

closed

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

Added by J. Peter M. Schuler about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-11-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76759

Actions #2

Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76759

Actions #3

Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76776

Actions #4

Updated by J. Peter M. Schuler about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF