Compatibility with language prefixed installs

Created on 28 April 2024, 7 months ago

Problem/Motivation

Install the locale module, set up a language prefix like /en/ for english

Without patching, this module crashes when using this.

I have elaborated a simple patch. It's not the ultimate solution but it does vastly improve the situation from totally broken to usable in most scenarios.

Steps to reproduce

Install the locale module, set up a language prefix like /en/ for english
notice crashing on null $node

Proposed resolution

See patch

Remaining tasks

Review patch

User interface changes

N/A

API changes

Improvements but not yet perfect. There's other ways to solve this but going with low-effort fix for now.

Data model changes

N/A

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Comments & Activities

Production build 0.71.5 2024