Project

General

Profile

Actions

Bug #86372

closed

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

Added by Benjamin Franzke over 5 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58371

Actions #2

Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58371

Actions #3

Updated by Benjamin Franzke over 5 years ago

  • Priority changed from Should have to Could have

Seems this is not a regression (introduced in v9).
The problem actually exists since the introduction of the 'assets' cache in https://review.typo3.org/42730

Actions #4

Updated by Gerrit Code Review over 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58371

Actions #5

Updated by Gerrit Code Review over 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58371

Actions #6

Updated by Gerrit Code Review over 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58371

Actions #7

Updated by Benjamin Franzke over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF