Redirect lookup does not account for the redirect language

Created on 30 September 2020, about 4 years ago
Updated 20 January 2023, almost 2 years ago

Problem/Motivation

#2968082 introduced breadcrumb links for redirects. in #3154473 the language prefix is stripped from the redirect lookup. However, the redirect lookup is only done by source and does not include the language.
As a result, the breadcrumb can be incorrect if there is a redirect found in another language.

Proposed resolution

Do not only lookup redirects by source, also by language.

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

The breadcrumb includes the correct links for redirects.

API changes

Node

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇳🇱Netherlands anneke_vde

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