Actions
Bug #96443
closedPHP warning when creating a new record with available TCEMAIN.preview configuration
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2021-12-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When creating a new record with an existing TCEMAIN.preview configuration the following warning is thrown:
PHP Warning: Trying to access array offset on value of type null in /var/www/html/public/typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 860
The corresponding line is:
$value = $recordArray[$field];
$recordArray is null for a new record.
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/+/72819
Updated by Gerrit Code Review almost 3 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/+/72839
Updated by Chris Müller almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ee6bd966f4f4f65d54942140ee16595872a5edb5.
Actions