#96443PHP warning when creating a new record with available TCEMAIN.preview configuration
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.
Reviews 2
History 24
-
Gerrit Code Review pushed patch set 1 for main to change 72819 status
NewUnder Review 12/30/21, 16:48 -
Gerrit Code Review pushed patch set 1 for 11.5 to change 72839 01/03/22, 11:47
-
Chris Müller commented and changed status
Under ReviewResolved done0 %100 % 01/03/22, 11:51 -
Benni Mack changed status
ResolvedClosed 10/04/22, 14:17
Applied in changeset commit:ee6bd966f4f4f65d54942140ee16595872a5edb5.