Breaking: #78384 - Frontend ignores TCA in ext_tables.php
See forge#78384
Description
Frontend requests no longer load ext_ in requests. The only exception is if a backend user is
logged in to the backend at the same time to initialize the admin panel or frontend editing.
Impact
Since especially a not yet cached frontend call relies on initialized
$GLOBALS, changes to TCA done
within ext_ are now ignored and may fail.
Affected Installations
Extensions that still set, add or remove settings in
$GLOBALS need to be adapted. The install tool
provides test "TCA ext_tables check" to find such extensions.
Migration
In ext_ neither writing directly to
$GLOBALS and $TCA is allowed, nor writing indirectly
via Extension methods. An example list of calls and their new positions:
$GLOBALS: A full table['TCA'] ['some Table'] = TCAis added. This must be moved toConfiguration/, seeTCA/ some Table. php ext:as example.sys_ note Extension: A static file is registered inManagement Utility:: add Static File () sys_. Add this totemplate Configuration/, seeTCA/ Overrides/ sys_ template. php ext:as example.rtehtmlarea Extension: Columns are added to a table. Add this toManagement Utility:: add TCAcolumns () Configuration/, seeTCA/ Overrides/<table>. php ext:as example.felogin Extension: Fields are added to types. Add this toManagement Utility:: add To All TCAtypes () Configuration/, seeTCA/ Overrides/<table>. php ext:as example.felogin Extension: A new flex from inManagement Utility:: add Pi Flex Form Value () tt_is registered. Add this tocontent Configuration/, seeTCA/ Overrides/ tt_ content. php ext:as example.felogin ExtensionandUtility:: register Plugin () Extension: A new type item is added to theManagement Utility:: add Plugin tt_table. Add this tocontent Configuration/.TCA/ Overrides/ tt_ content. php