Review main Merged

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

Helmut Hummel CR +2 V +2 Normal +66 −0 updated 08/25/21, 12:53

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 4