sys_file_metadata.filelist is in TCA but not in SQL schema - may lead to exceptions
Please see core issue: https://forge.typo3.org/issues/92312
I think this is a core issue, but the exception occurs in combination with a select query in l10nmgr which includes sys_file_metadata.fileinfo which does not exist in the DB:
Reproduce
- Edit file metadata in filelist and save (as non-admin).
Error
Oops, an error occurred!
An exception occurred while executing
'SELECT `crdate`, `sys_language_uid`, `l10n_parent`, `l10n_diffsource`, `t3ver_label`, `fileinfo`, `file`, `title`, `description`, `alternative`, `width`, `height`, `categories`, `visible`, `status`, `keywords`, `caption`, `creator_tool`, `download_name`, `creator`, `publisher`, `source`, `copyright`, `location_country`, `location_region`, `location_city`, `latitude`, `longitude`, `ranking`, `content_creation_date`, `content_modification_date`, `note`, `unit`, `duration`, `color_space`, `pages`, `language`, `fe_groups`, `t3_origuid`, `uid`, `pid`, `sys_language_uid`, `l10n_diffsource`, `l10n_parent` FROM `sys_file_metadata` WHERE (`uid` = ?) AND (`sys_language_uid` <= ?) AND ((`sys_file_metadata`.`t3ver_wsid` = 0) OR (`sys_file_metadata`.`t3ver_state` <= 0))' with params [162820, 0]: Unknown column 'fileinfo' in 'field list'
Edited by Sybille Peters