Redirects in other languages are not created for "all languages" option.

Created on 6 March 2024, about 1 year ago

Problem/Motivation

When you create a redirect, you can choose "all languages" which generates additional redirects. For example, if the redirect is "something" => node/1 then you'll get /something, /en/something, and /es/something if you have English (with prefix) and Spanish languages and path prefix language negiotation. But, in Quant, you only get /en/something.

Steps to reproduce

  • Install/configure D10 with Umami profile and quant_api module
  • Create a redirect and choose "all languages" option
  • Test the redirect in Drupal with no prefix, /en and /es and the should all work
  • Check the redirects in Quant and there is only the /en redirect even though all 3 should be there

Proposed resolution

Generate the additional redirects.

Remaining tasks

  • Update code
  • Review and test
  • Commit

User interface changes

Additional redirects will show up in Quant.

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

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

Comments & Activities

  • Issue created by @Kristen Pol
  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    Actually, it has the /en/something and /es/something ones but not the /something one.

  • Status changed to Postponed about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    For now, a todo was added to seedRedirect. It uses getRedirectLocationsFromRedirect which is complex and requires careful thought and testing when changing.

    Postponing for now. If you are interested in this issue, please leave a comment.

  • Status changed to Closed: won't fix 2 months ago
  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    Closing postponed 1.x issues as the focus is switching to the 2.x branch and these are lower priority.

    Leave a comment if you are interested in this issue and we can move to the 2.x queue.

Production build 0.71.5 2024