Project

General

Profile

Actions

Bug #89698

closed

Regression in resolveAnchorLink

Added by Susanne Moog over 4 years ago. Updated over 4 years ago.

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

100%

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

Description

Since https://review.typo3.org/c/Packages/TYPO3.CMS/+/60324 we have a regression as resolveAnchorLinks requires $conf to be an array, however $conf may be empty in certain circumstances.

For example:

- Image Content Element with one Image with "Enlarge on click" enabled
- set TS Constant `styles.content.textmedia.linkWrap.lightboxEnabled]`

Results in:
"Argument 2 passed to TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::resolveAnchorLink() must be of the type array, null given, called in /var/www/html/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php on line 4999"

Actions #1

Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Susanne Moog over 4 years ago

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

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 9.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/+/62282

Actions #4

Updated by Susanne Moog over 4 years ago

  • Status changed from Under Review to Resolved
Actions #5

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF