Issue Bug Closed

#23694[Caching framework] Improve error message if no frontend was defined for core caches

Christian Kuhn 10/08/10, 16:28 updated 06/24/11, 13:46

Description

This is an SVN patch request.

Type: Bugfix

BT:

Branches: trunk, 4.4

Problem:
With issue #21355 we un-hardcoded the cache frontend settings for core caches. This now leads to an error if own core caches are defined and the frontend setting is missing. t3lib_div::makeInstance will then get an empty string as frontend class and just spits error “Class not found”, without more infromation on what exactly went wrong. This makes this issue hard to track down.

Solution:
Throw a more meaningful error message in t3lib_cache if frontend defintion is missing.

(issue imported from #M15937)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.