Problem/Motivation

The loop detection only compares entity ID (node ID) and ignores language context.
As a result, cross-language redirects between translations are incorrectly treated as self-loops.

Steps to reproduce

  1. Create a multilingual site (e.g. English + Italian).
  2. Create a node with translations.
  3. Create a redirect from a translated URL to internal:/node/{id}.
  4. Run redirect audit (drush ras).
  5. Check results: redirect is incorrectly marked as a loop.
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

antonio nunez created an issue. See original summary.

antonio nunez changed the visibility of the branch 3589721-false-positive-loop to hidden.

antonio nunez changed the visibility of the branch 3589721-false-positive-loop to active.

  • antonio nunez committed 7e477c2a on 1.x
    Issue #3589721: False positive loop detection for cross-language...
antonio nunez’s picture

Status: Active » Fixed

The issue has been verified in several environments using real data, and the system is functioning as expected. The issue has been resolved.

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.

antonio nunez’s picture

Status: Fixed » Closed (fixed)