Bug #89698
closedRegression in resolveAnchorLink
100%
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"
Updated by Gerrit Code Review about 5 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
Updated by Susanne Moog about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset dda1896e56292a4dabbc2fcff57a828f22ec64cc.
Updated by Gerrit Code Review about 5 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
Updated by Susanne Moog about 5 years ago
- Status changed from Under Review to Resolved
Applied in changeset cf2bbe5b4c9493bbff53988740039a0e07453aa5.