Actions
Bug #27675
closedExecution of task fails with "Class does not exist"
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2011-06-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Files
Actions