Skip to content
Snippets Groups Projects
Commit a92d9430 authored by Helmut Hummel's avatar Helmut Hummel Committed by Benni Mack
Browse files

[TASK] Deprecate usage of cache and DB connection early in bootstrap

This change allows TYPO3 to detect and trigger a deprecation of
the Cache Manager and database connection not only during loading of
ext_localconf.php, but as well during building of TCA and
loading of ext_tables.php.

Code executed in these places has two purposes:

1. Provide/ adapt configuration
2. Register extension APIs (icons, modules, etc.)

Both purposes will eventually migrated to DI configuration, which currently
already is executed in a "stateless" environment.

To prepare extension authors that this change will happen, before we will be able
to migrate all current use cases to be registered in DI configuration,
usage of DB connection and cache manager is deprecated at these early
boot extension points.

Releases: master
Resolves: #94979
Change-Id: If03910ddd10c06662e1c9f5bea179ff12d64c989
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69509


Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 256e6327
Branches
Tags
No related merge requests found
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