Project

General

Profile

Actions

Bug #86372

closed

CacheManager 'assets' cache is not configurable in ext_localconf.php

Added by Benjamin Franzke about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
-
Start date:
2018-09-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Since commit https://review.typo3.org/c/54020/ + followup https://review.typo3.org/54061 (released only in v9) it is no longer possible to configure the 'assets' cache in ext_localconf.php files.

The IconRegisty is loaded in backend mode and reads the configuration (caches from 'assets') during object construction.
IconRegistry is usually instantiated during ext_localconf.php (due to extensions registering icons),
and therefore create's the 'assets' cache during ext_localconf.php loading.

After CacheManager has created the assets cache once, it will never be recreated again,
when the final configuration is set, after all ext_localconf.php files have been loaded.

Actions

Also available in: Atom PDF