Issue Task Closed

#80810Rather than throw exceptions about missing caches, fall back to transient memory variable cache

Claus Due 04/11/17, 16:03 updated 02/08/18, 23:23

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).

Reviews 1