Auto redirect checkbox is disabled in the Redirect Settings Form

Created on 9 September 2025, about 13 hours ago

Problem/Motivation

After release 8.x-1.12 the logic for the Auto Redirect checkbox on the Redirect Settings Form seems to have changed.
Before; if you have the "path" module activated the checkbox will be enabled.
After: if you have the "path" module activated the checkbox will be disabled.

The change comes from commit 66b252d2 "Issue #3451531 by alexpott, ankitv18: PHPStan issue report in gitlab"
https://git.drupalcode.org/project/redirect/-/commit/66b252d2436c1dec996...

Steps to reproduce

Activate module "redirect" and "path" and observe that the "Auto redirect" checkbox is disabled. Disabling the "path" module makes it enabled.

Proposed resolution

This seems to be a regression and should be reverted, not the entire commit, but the logic that says that the checkbox is not disabled if the path module is not installed.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

1.12

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024