[Neos] Integrity constraint violation: 1062 Duplicate entry for key

Pavlina Drosos pavlinadrosos at gmail.com
Fri Jan 23 08:37:19 CET 2015


Hi guys,

I have recently upgraded our company site from Neos 1.1 to Neos 1.2. It
doesn't use the languages dimensions. On some pages, when I try to replace
an existing header image content element with another one from Media, or
with new uploaded image, I receive this exception:

Uncaught exception in line 793 of /var/www/
neosgoosdk.goos-test.com/Packages/Libraries/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:
An exception occurred while executing 'UPDATE
typo3_typo3cr_domain_model_nodedata SET workspace = ?, version = version +
1 WHERE persistence_object_identifier = ? AND version = ?' with params
["live", "0ee05a90-c845-57ce-f14c-34d3dd2ea8f1", 1]:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
'ce2a98a5653c21e4cb865f02bfbf84e6-live-d751713988987e9331980363e2' for key
'UNIQ_60A956B92DBEC7578D94001992F8FB01'

You can see the whole exception here:
https://gist.github.com/pdrosos/91b301b9bce902d6df9d

Does anyone know why is this happening and how can we solve it?

Thanks in advance!

KR,
Pavlina


More information about the Neos mailing list