Problem/Motivation

We have detected the following errors:

  • Queues are not processing correctly, which may cause incomplete or delayed handling of redirections.
  • Redirections created before the module was installed or activated are not being detected, leading to inconsistencies in audits and reports.

These issues directly affect the correct operation of the module and need to be addressed to ensure reliable redirection tracking.

Steps to reproduce

  • Create several redirects before and after installing the module.
  • Process the queue tasks related to the redirects.
  • Note that:
    • Pre-existing redirects are not fully analyzed.
    • Queue tasks do not correctly process all pending items.

Proposed resolution

  • Review and correct the queue processing logic to ensure that all items are handled reliably.
  • Adjust the scanning logic to include redirects created before the module was activated.
  • Add tests or checks to prevent regression of these issues in future versions.
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’s picture

Status: Active » Needs review

The error that caused the process of scanning and automatically correcting chained redirects in the queue system to not work with redirects created prior to the installation of the module has been resolved.

These changes have been verified in several projects with production databases, and the results have been satisfactory. Therefore, the task is considered successfully reviewed and verified.

antonio nunez’s picture

Status: Needs review » Fixed

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 committed 4a3a587e on 1.x
    Resolve #3557342 "Fix issues in redirection scanning and queue...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.