Translated home pages with path prefixes are not handled

Created on 30 January 2024, 5 months ago
Updated 29 February 2024, 4 months ago

Problem/Motivation

When fixing and testing πŸ› Do not process _quant403 and _quant404 if they don't exist Fixed , I found that only the default language home page is handled as / but the path prefixed home pages like /es are not which results in 404s.

Note that the default language prefix (e.g. /en) doesn't work either. Just /.

Steps to reproduce

  • Install/configure Drupal 9 or 10 with Umami profile
  • Install/configure quant_api module
  • Seed content
  • Go to / and /es paths in Drupal and see the pages
  • Do the same on the Quant site
  • Result: the /es path will show a 404
  • Expected result: the /es path shows the translated home page content

Proposed resolution

Update the logic related to handling the home/front page.

Remaining tasks

  • Update code
  • Review and test
  • Commit :)

User interface changes

User won't get 404s for path prefix home pages when there is translated content.

API changes

Data model changes

πŸ› Bug report
Status

Needs review

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

Production build 0.69.0 2024