Don't migrate disabled redirects

Created on 12 August 2020, over 4 years ago
Updated 1 March 2024, about 1 year ago

Problem/Motivation

When migrating from 7.x-1.x some redirects may have a disabled status. The equivalent status does not exist in 8.x-1.x and can introduce unwanted redirects. Worse still, if the previously disabled redirect matches an existing path alias a RedirectLoopException is thrown.

Steps to reproduce

  • Create disabled redirects on Drupal 7 site
  • Run drupal upgrade migration to Drupal 8 or 9
  • Access URL of disabled redirect

Proposed resolution

Either skip disabled rows or introduce the equivalent status field.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024