-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 5.1
-
Fix Version/s: Customer request, 5.1
-
Component/s: Platform > API interfaces
-
Labels:None
If a content in eng-GB is updated using the public API, the following SQL error occurs:
[PDOException] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1544-3' for key 'PRIMARY'
Steps to reproduce:
Please adapt the test command attached and run it:
php ezpublish/console silversolutions:translation --env=dev
It creates content and adds a translation. After this it tries to update the eng-GB object and it leads to the exception.