Routesubscriber should set the config override language

Created on 18 April 2023, about 1 year ago

Problem/Motivation

When you have a different path in a not default language, and you clear cache in the non default language, you will end up with page not founds.

Steps to reproduce

Default language: nl, path /zoeken
Config translation: en, path /search
Now, clear cache via the UI on /en/search - both pages will be pages not found now

Proposed resolution

Use setConfigOverrideLanguage in SearchApiPageRoutes::routes()

API changes

Data model changes

None

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium swentel

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

Comments & Activities

Production build 0.69.0 2024