From ffa646af1a159370d45857a0da3052ff37f71de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20E=C3=9Fl?= <indy.essl@gmail.com> Date: Fri, 21 Feb 2020 21:42:57 +0100 Subject: [PATCH] [BUGFIX] Fix wrong field name in be_dashboard TCA The TCA for be_dashboard was using a field name that doesn't exist in the database table. Resolves: #90477 Releases: master Change-Id: Icb78d89a723d0d1030bf31d0645c0f31592a67e2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63360 Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: Daniel Goerz <daniel.goerz@posteo.de> Tested-by: TYPO3com <noreply@typo3.com> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de> --- .../dashboard/Configuration/TCA/be_dashboards.php | 12 ++++++------ .../Resources/Private/Language/locallang_tca.xlf | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/typo3/sysext/dashboard/Configuration/TCA/be_dashboards.php b/typo3/sysext/dashboard/Configuration/TCA/be_dashboards.php index 515d2acd54ea..3a7ebc57e41a 100644 --- a/typo3/sysext/dashboard/Configuration/TCA/be_dashboards.php +++ b/typo3/sysext/dashboard/Configuration/TCA/be_dashboards.php @@ -2,7 +2,7 @@ return [ 'ctrl' => [ 'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang_tca.xlf:be_dashboard', - 'label' => 'label', + 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', @@ -18,10 +18,10 @@ return [ 'typeicon_classes' => [ 'default' => 'content-dashboard' ], - 'searchFields' => 'identifier,label,configuration' + 'searchFields' => 'identifier,title,configuration' ], 'interface' => [ - 'showRecordFieldList' => 'hidden,identifier,label,configuration,starttime,endtime' + 'showRecordFieldList' => 'hidden,identifier,title,configuration,starttime,endtime' ], 'columns' => [ 'hidden' => [ @@ -69,8 +69,8 @@ return [ 'eval' => 'required' ] ], - 'label' => [ - 'label' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang_tca.xlf:label', + 'title' => [ + 'label' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang_tca.xlf:title', 'config' => [ 'type' => 'input', 'size' => 30, @@ -90,7 +90,7 @@ return [ '1' => [ 'showitem' => ' --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, - identifier,label,configuration, + identifier,title,configuration, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access, hidden, --palette--;;timeRestriction, --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended, diff --git a/typo3/sysext/dashboard/Resources/Private/Language/locallang_tca.xlf b/typo3/sysext/dashboard/Resources/Private/Language/locallang_tca.xlf index f1cfb630e8b9..1da979d34bf1 100644 --- a/typo3/sysext/dashboard/Resources/Private/Language/locallang_tca.xlf +++ b/typo3/sysext/dashboard/Resources/Private/Language/locallang_tca.xlf @@ -9,8 +9,8 @@ <trans-unit id="identifier" xml:space="preserve"> <source>Identifier</source> </trans-unit> - <trans-unit id="label" xml:space="preserve"> - <source>Label</source> + <trans-unit id="title" xml:space="preserve"> + <source>Title</source> </trans-unit> <trans-unit id="configuration" xml:space="preserve"> <source>Configuration</source> -- GitLab