Redirect to enabled language node when requesting node in disabled language.

Created on 15 December 2020, about 4 years ago
Updated 8 December 2023, about 1 year ago

Problem/Motivation

If english language is disabled and german is set as redirect language.
Then while trying to access '/en/page' should redirect to 'de/page', but now it redirects to 'en/'.

Steps to reproduce

1. Go to module config page.
2. Add `entity.node.canonical` to route override.
3. Disable english language.
4. Set german as redirect language.
5. Then create a translation for `page` in german language.
6. Try to access english version.
7. You will get redirected too many times error.

Proposed resolution

1. Go to module config page.
2. Add `entity.node.canonical` to route override.
3. Add attached patch.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

ashu1629 Bengaluru

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