Skip to content
Snippets Groups Projects
Commit b9262085 authored by Benni Mack's avatar Benni Mack
Browse files

[BUGFIX] Avoid database errors when translating sys_file (metadata) records

The TCA definitions for sys_file.fileinfo and sys_file_metadata.fileinfo
were marked "user" but without any database definition, leading
to side-effects when automating translations (e.g. in l10nmgr).

However, they only provide information (= a virtual field), so the
definition should be of type "none".

Resolves: #92312
Releases: master, 10.4
Change-Id: I9941e07a304ecade5c8b0de7ce82591178172d68
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66378


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarJo Hasenau <info@cybercraft.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarSybille Peters <sypets@gmx.de>
Reviewed-by: default avatarJo Hasenau <info@cybercraft.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 6e25f9ad
Branches
Tags
No related merge requests found
......@@ -27,7 +27,7 @@ return [
'columns' => [
'fileinfo' => [
'config' => [
'type' => 'user',
'type' => 'none',
'renderType' => 'fileInfo',
]
],
......
......@@ -71,7 +71,7 @@ return [
],
'fileinfo' => [
'config' => [
'type' => 'user',
'type' => 'none',
'renderType' => 'fileInfo',
]
],
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment