Issue Bug Closed

#100897Unknown column 'table_local' in 'where clause'

Oliver Hader 05/18/23, 10:46 updated 07/09/24, 14:15

Description

→ https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Breaking-98479-RemovedFileReferenceRelatedFunctionality.html

> The field table_local of table sys_file_reference: is no longer evaluated by TYPO3 and has therefore been removed.

Previously used in TCA config sections like this:

'foreign_match_fields' => [
  'fieldname' => 'logo',
  'tablenames' => 'tx_site_domain_model_sponsor',
  'table_local' => 'sys_file',
],

The match criteria table_local triggers this error message, and can be removed.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.