The comments on the parent issue say this was fixed but there is no change in the code.
--------
Sometimes I get a generic error while using the merge operation.
Looking at drupal logs I find similar entries:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '18x1RlxnhGpuW_y2HSUeEXWMA0QV9yEpgskCIG-iLhM' for key 'hash': INSERT INTO {redirect} (hash, type, uid, source, source_options, redirect, redirect_options, language, status_code, count, access) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10); Array ( [:db_insert_placeholder_0] => 18x1RlxnhGpuW_y2HSUeEXWMA0QV9yEpgskCIG-iLhM [:db_insert_placeholder_1] => redirect [:db_insert_placeholder_2] => 6874 [:db_insert_placeholder_3] => taxonomy/term/23016 [:db_insert_placeholder_4] => a:0:{} [:db_insert_placeholder_5] => concorsi-amministativo [:db_insert_placeholder_6] => a:0:{} [:db_insert_placeholder_7] => und [:db_insert_placeholder_8] => 0 [:db_insert_placeholder_9] => 0 [:db_insert_placeholder_10] => 0 ) in drupal_write_record() (linea 7136 di ..../includes/common.inc).

So it seems that redirect_save is trying to save a redirect for an already existing combination.

Comments

brad.bulger created an issue. See original summary.

brad.bulger’s picture

reroll of original patch

astonvictor’s picture

Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.