Bug #27674
closedExecution of task fails with "Class does not exist"
0%
Description
When I try to manually run task "Caching framework garbage collection (scheduler)", it fails with this flash message:
Execution of task "Caching framework garbage collection (scheduler)" failed with
the following message: Class does not exist
As I had this problem with a task of mine yesterday and I tracked down the bug, it was easy to spot out the problem (comment I put in my extension for the catch):
// BEWARE: Cannot limit to t3lib_cache_exception_NoSuchCache as when instantiating
// the caching framework from a scheduler task, the object name of the
// cache frontend (t3lib_cache_frontend_VariableFrontend) is empty and
// crashes t3lib_div::makeInstance() called from t3lib_cache_Factory::cache()
// with an empty class name.