Project

General

Profile

Actions

Bug #27675

closed

Execution of task fails with "Class does not exist"

Added by Xavier Perseguers over 13 years ago. Updated almost 11 years ago.

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

27675.diff (1.26 KB) 27675.diff Xavier Perseguers, 2011-06-24 09:54

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #27677: Caching Framework: use t3lib_cache_frontend_VariableFrontend as fallback frontendClosedXavier Perseguers2011-06-24

Actions
Is duplicate of TYPO3 Core - Bug #27674: Execution of task fails with "Class does not exist"Closed2011-06-24

Actions
Actions

Also available in: Atom PDF