Project

General

Profile

Actions

Bug #85366

closed

False positive if scheduler task is unchanged saved

Added by Georg Ringer over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
scheduler
Target version:
-
Start date:
2018-06-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If a scheduler task is saved without any changes, an error flash message he task could not be updated. is shown but this is because

$result = GeneralUtility::makeInstance(ConnectionPool::class)
                ->getConnectionForTable('tx_scheduler_task')
                ->update(
                    'tx_scheduler_task',
                    $fields,
                    ['uid' => $taskUid],
                    ['serialized_task_object' => Connection::PARAM_LOB]
                );

returns false if for this update, however this does not mean that the task is not persisted

Actions

Also available in: Atom PDF