[BUGFIX] Correctly reference sys_file_metadata.language in TCA 99/56099/5
authorChristian Heindl <christian.heindl@cebesoft.com>
Sun, 11 Mar 2018 19:14:38 +0000 (20:14 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Wed, 14 Mar 2018 15:11:59 +0000 (16:11 +0100)
Palette "language" does not exists on table "sys_file_metadata" resulting
in an empty "language" tab, when editing a file's metadata.
Thus referencing language field directly.

Releases: master, 8.7
Resolves: #84200
Change-Id: I44b2b169bbce7948826fdade9f10a760b32df2c7
Reviewed-on: https://review.typo3.org/56099
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/filemetadata/Configuration/TCA/Overrides/sys_file_metadata.php

index 1b447da..9e68a12 100644 (file)
@@ -15,7 +15,7 @@ $tca = [
                     creator, creator_tool, publisher, source, copyright,
                     --palette--;;40,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
-                    --palette--;;language,
+                    language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;10,
                     fe_groups,
@@ -33,7 +33,7 @@ $tca = [
                     creator, creator_tool, publisher, source, copyright, language,
                     --palette--;;40,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
-                    --palette--;;language,
+                    language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;10,
                     fe_groups,
@@ -56,7 +56,7 @@ $tca = [
                     color_space,
                     --palette--;;50,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
-                    --palette--;;language,
+                    language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;10,
                     fe_groups,
@@ -76,7 +76,7 @@ $tca = [
                 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.audio,
                     duration,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
-                    --palette--;;language,
+                    language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;10,
                     fe_groups,
@@ -96,7 +96,7 @@ $tca = [
                 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.video,
                     duration,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
-                    --palette--;;language,
+                    language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;10,
                     fe_groups,
@@ -117,7 +117,7 @@ $tca = [
                     --palette--;;50,
                     --palette--;;60,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
-                    --palette--;;language,
+                    language,
                 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                     --palette--;;10,
                     fe_groups,