Deprecation: #105297 - tableoptions
and collate
connection configuration
#4329
Labels
tableoptions
and collate
connection configuration
#4329
Deprecation: #105297 -
tableoptions
andcollate
connection configurationhttps://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.4/Deprecation-105297-DeprecateTableoptionsAndCollateConnectionConfiguration.html
Deprecation: #105297 - tableoptions and collate connection configuration
See 105297
Description
The possibility to configure default table options like charset and
collation for the database analyzer has been introduced using the array
$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['tableoptions']
with sub-array keys
charset
andcollate
. These were only used forMySQL and MariaDB connections.
Since TYPO3 v11 the
tableoptions
keys were silently migrated todefaultTableOptions
, which is the proper Doctrine DBAL connectionoption for for MariaDB and MySQL.
Furthermore, Doctrine DBAL 3.x switched from using they array key
collate
tocollation
, ignoring the old array key with Doctrine DBAL4.x. This was silently migrated by TYPO3, too.
These silent migrations are now deprecated in favor of using the final
array keys.
Note
When migrating, make sure to remove the old
tableoptions
array key,otherwise it will take precedence over setting the new
defaultTableOptions
key in TYPO3 v13.Impact
Instances using the database connection options in
$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['tableoptions']
array, or using the
collate
key will trigger aE_USER_DEPRECATED
notification.
Affected installations
All instances using the mentioned options.
Migration
Review
settings.php
andadditional.php
and adapt the deprecatedconfiguration by renaming affected array keys.
Database, LocalConfiguration, NotScanned, ext:core
The text was updated successfully, but these errors were encountered: