Issue Bug Closed

#85366False positive if scheduler task is unchanged saved

Georg Ringer 06/23/18, 21:16 updated 10/02/18, 10:44

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

Reviews 2