Actions
Bug #98181
closedUndefined in array key in workspaceOL method
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2022-08-19
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When using EXT:container in TYPO3 11.5.14 with enabled (not live) workspaces, the content element properties does not show up, instead this exception occures:
PHP Warning: Undefined array key "pid" in /www/htdocs/***/vendor/typo3/cms-backend/Classes/Utility/BackendUtility.php line 3432
This line is the following:
// When a moved record is found the "PID" value contains the newly moved location // Whereas the _ORIG_pid field contains the PID of the live version $wsAlt['_ORIG_pid'] = $row['pid'];
But, it can happen that the key "pid" is not set in $row.
When wrapping a isset($row['pid'])
condition around, the exception does not appear anymore.
The workspaceOL method has been called by: /vendor/typo3/cms-backend/Classes/Form/FormDataProvider/AbstractItemProvider.php line 371
Actions