Details
-
Bug
-
Resolution: Invalid
-
High
-
5.2-dev
-
None
-
RHEL 6.4
PHP 5.3.3
Mysql 5.1.61
Description
I'm getting one issue when i try translate an object to 2 different language (used code: https://gist.github.com/jpingo/9c1b7cd361ca0d53f3a5 )
Steps (all done in Public API)
1. Eng-GB is set to the default language
2. Create 2 languages (Fre and Nor)
3. Create a folder named "News"
4. Create an Article named "Article Eng" in eng-GB
5. Update Article Eng adding an fre-FR content/translation (Works fine)
6. Update Article Eng adding an nor-NO content/translation
7. At this point i get the following error
1) eZPublishAPIContentLanguageService::testtranslateArticleTwice PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '194-3' for key 'PRIMARY' /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Gateway/EzcDatabase.php:603 /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Gateway/ExceptionConversion.php:255 /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/FieldHandler.php:352 /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/FieldHandler.php:201 /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Handler.php:261 /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php:1097 /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/ContentService.php:312 /var/www/apache2php53/ezp5/ezpublish_testsystem/extension/ezpublishapitests/tests/ezpublishapi/ezpublishapi/languageservice/ezpublishapicontentlanguageservice.php:570 /var/www/apache2php53/ezp5/ezpublish_testsystem/extension/selenium/classes/ezpselenesetest.php:772 /var/www/apache2php53/ezp5/ezpublish_testsystem/tests/toolkit/ezptestrunner.php:372
Attachments
Issue Links
- discovered while testing
-
EZP-19944 Prioritized language list is not correctly in the repository
- Closed