romm / configuration_object

Transform any configuration plain array into a dynamic and configurable object structure, and pull apart configuration handling from the main logic of your script. Use provided services to add more functionality to your objects: cache, parents, persistence and much more.
GNU General Public License v3.0
6 stars 4 forks source link

[BUGFIX] Allow request to register internal cache very early #15

Closed romm closed 7 years ago

romm commented 7 years ago

This commit fixes an issue, where a configuration object was constructed very early in TYPO3 request dispatch, for instance in TCA definition. The cache was not registered yet, and that would lead to an exception being thrown.

The cache is now registered any time it is accessed.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.01%) to 96.104% when pulling e8e097101389a1701b5415c58e5ba0881edd2c22 on bugfix/register-early-cache into fd05e5a92a8e97cfd867fb785f4de224db95fc62 on development.