Language override not working, missing request subscriber entry in services.yml

Created on 2 April 2024, 9 months ago
Updated 30 April 2024, 8 months ago

Problem/Motivation

Language overrides not working as expected. Default configuration always loaded regardless of site language. RequestSubscriber event subscriber never gets loaded or called. Found that there was no entry for this event subscriber in the services.yml file.

Steps to reproduce

Configure language negotiation with multiple languages, using separate URLs for the different languages. Configure CookiePro Plus module with default config using a CookiePro script ID. Enable override for another language, using different CookiePro script ID. Navigate to URL for language with override. CookiePro script ID is using default config but should be using overridden script ID.

Proposed resolution

Add missing services.yml entry for request subscriber. This seems to resolve the issue.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada classiccut

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024