- 🇮🇳India pragna
Hello,
I am facing same issue when editing content of h5p.
Drupal\Core\Database\IntegrityConstraintViolationException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '190-18-editor' for key 'h5p_content_libraries.PRIMARY': INSERT INTO "h5p_content_libraries" ("content_id", "library_id", "dependency_type", "drop_css", "weight") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => 190 [:db_insert_placeholder_1] => 18 [:db_insert_placeholder_2] => editor [:db_insert_placeholder_3] => 0 [:db_insert_placeholder_4] => 8 ) in Drupal\mysql\Driver\Database\mysql\ExceptionHandler->handleExecutionException() (line 45 of /home/deploy/public_html/core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php).
- 🇮🇳India pragna
Hi @martyma,
I created a patch to solve this issue. Please check attached patch file.
Thank you,
Pragna - 🇺🇸United States illeace
Are either of you able to test if the issue still exists in 2.0.0-alpha6? If so, do you have a simple case that reproduces the error? I've tried to recreate the problem and haven't been able to so far.