Index: typo3/sysext/scheduler/mod1/locallang.xml
===================================================================
--- typo3/sysext/scheduler/mod1/locallang.xml (revision 7878)
+++ typo3/sysext/scheduler/mod1/locallang.xml (working copy)
@@ -68,6 +68,7 @@
+
Index: typo3/sysext/scheduler/mod1/index.php
===================================================================
--- typo3/sysext/scheduler/mod1/index.php (revision 7878)
+++ typo3/sysext/scheduler/mod1/index.php (working copy)
@@ -1094,10 +1094,16 @@
// A failure is the worst thing that could happen, so it must overwrite all other statuses
if (!empty($schedulerRecord['lastexecution_failure'])) {
+ $executionStatus = 'failure';
+ // Try to get the stored exception object
$exception = unserialize($schedulerRecord['lastexecution_failure']);
-
- $executionStatus = 'failure';
- $executionStatusDetail = sprintf($GLOBALS['LANG']->getLL('msg.executionFailureReport'), $exception->getCode(), $exception->getMessage());
+ // If the exception could not be unserialized, issue a default error message
+ $executionStatusDetail = '';
+ if ($exception === FALSE) {
+ $executionStatusDetail = $GLOBALS['LANG']->getLL('msg.executionFailureDefault');
+ } else {
+ $executionStatusDetail = sprintf($GLOBALS['LANG']->getLL('msg.executionFailureReport'), $exception->getCode(), $exception->getMessage());
+ }
}
// Format the execution status