From ed41d17c6d2adda134ac7e1a13e82ea5ebb949ee Mon Sep 17 00:00:00 2001 From: Andreas Fernandez <a.fernandez@scripting-base.de> Date: Fri, 6 Mar 2020 14:26:10 +0100 Subject: [PATCH] [BUGFIX] Use correct variable in TcaInline in exception log To log the exception properly, the variable `$defaultLanguageUid` is now used instead of the undefined `$localizedUid`. Resolves: #90664 Releases: master, 9.5 Change-Id: I975868f95e7fb789ce31c260185b1a62654fd8fe Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63564 Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de> Reviewed-by: Alexander Schnitzler <git@alexanderschnitzler.de> Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Alexander Schnitzler <git@alexanderschnitzler.de> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Benni Mack <benni@typo3.org> --- .../sysext/backend/Classes/Form/FormDataProvider/TcaInline.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php index ce96bee919a9..7900c55159ff 100644 --- a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php +++ b/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php @@ -197,7 +197,7 @@ class TcaInline extends AbstractDatabaseRecordProvider implements FormDataProvid $e->getMessage(), [ 'table' => $childTableName, - 'uid' => $localizedUid, + 'uid' => $defaultLanguageUid, 'exception' => $e ] ); -- GitLab