Actions
Task #80810
closedRather than throw exceptions about missing caches, fall back to transient memory variable cache
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-04-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
As the title says, allowing this fallback presents an extremely easy way to make a runtime-only cache by any identifier, even a request-specific identifier - and would allow Extbase's ObjectManager to create classes without a TYPO3 context.
This then in turn allows things like creating a working instance of the TYPO3 Fluid RenderingContext which is necessary for assistant command line utilities like the schema generator.
The change would be fairly non-destructive as there already is a "hasCache()" method that still returns false (until the cache is automatically created upon access).
Actions