UrlGenerator should either inject RequestContext or explain why it's not doing it

Created on 5 June 2025, 7 days ago

Problem/Motivation

UrlGenerator::__construct() creates its own RequestContext object, but this is also available as a service.

Is there a reason it's doing this? if so, it should say why.

If there is no reason, it should have the service injected.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

base system

Created by

🇬🇧United Kingdom joachim

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

Comments & Activities

Production build 0.71.5 2024