Project

General

Profile

Actions

Bug #87143

closed

Side effects when using AbstractTypolinkBuilder in middlewares

Added by Benni Mack over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Frontend
Start date:
2018-12-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When using TypolinkBuilder directly in a PSR-15 middleware, globals TSFE is always used, which leads to e.g. wrongly initialized current ID information. This can be solved by using proper DI.

Actions

Also available in: Atom PDF