Actions
Bug #96869
closedUndefined array key in EXT:frontend
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2022-02-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Remote Sprint
Description
PHP Warning: Undefined array key "versioningWS" in typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 6228
Line 6228 is
&& !empty($GLOBALS['TCA'][$table]['ctrl']['versioningWS'])
should be
&& !empty(($GLOBALS['TCA'][$table]['ctrl']['versioningWS'] ?? ['versioningWS'])['versioningWS'])
Thanks
Updated by JAKOTA Design Group GmbH almost 3 years ago
Sorry, wrong patch..
it should be
&& !empty($GLOBALS['TCA']['test']['ctrl']['versioningWS'] ?? null )
Updated by Gerrit Code Review almost 3 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/+/73469
Updated by JAKOTA Design Group GmbH almost 3 years ago
- % Done changed from 0 to 100
I'm sorry for this mix up.
My IDE had auto format the code.
this is actually fixed already by https://forge.typo3.org/issues/96816
please close this one
Thanks
Updated by Georg Ringer almost 3 years ago
- Related to Bug #96816: Undefined array key in EXT:frontend added
Updated by Riccardo De Contardi over 2 years ago
- Status changed from Under Review to Closed
- Target version deleted (
next-patchlevel)
Closed as requested by the reporter.
Actions