"Page not found" on the content pages that don't have current language translation

Created on 29 July 2024, 4 months ago
Updated 20 September 2024, about 2 months ago

Problem/Motivation

For multilingual sites, users can't see content (topic, event, group, etc) in languages other than the current user language. For example, if a user with "Ukrainian" language tries to visit a topic that has only "English" version user gets "Page not found" exception. The expected behavior is that the user should be able to visit "English" version of the topic (because, for example, a user can see topic teasers in "/all-topic" page).

Steps to reproduce

  1. Set up multilingual OS site (for example, "English" and "Dutch")
  2. Login as LU
  3. Create a topic in "English"
  4. Switch to "Dutch" language on "/user/edit" page
  5. Visit a topic page
  6. AB: LU gets "Page not found"
  7. EB: LU should be able to see "English" topic version

Proposed resolution

Override \Drupal\social_language\PathProcessor\AliasPathProcessor.

Feature request
Status

Fixed

Version

13.0

Component

Code (back-end)

Created by

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

Comments & Activities

Production build 0.71.5 2024