Issue Bug Under Review Quiet

#106713UniqueConstraintViolationException in Registry::set()

Adam Koppe 05/16/25, 07:57 updated 10/19/26, 14:15

Description

If there are concurrent calls to Registry::set() with the same registry entry key, the following database exception may be thrown:

Doctrine\DBAL\Exception\UniqueConstraintViolationException

An exception occurred while executing
'INSERT INTO `sys_registry` (`entry_namespace`, `entry_key`, `entry_value`) VALUES (?, ?, ?)':
Duplicate entry 'tx_scheduler-lastRun' for key 'entry_identifier'

We noticed that when clicking “run task” in the scheduler backend on multiple tasks on TYPO3 v10 and TYPO3 v11.

Reviews 1

History 07