Project

General

Profile

Actions

Bug #100785

closed

ViewHelpers without Services.yaml

Added by Simon Praetorius about 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Fluid
Start date:
2023-04-26
Due date:
% Done:

100%

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

Description

With v12, objectManager got removed from the ViewHelperResolver class, which instantiates ViewHelper objects. While this makes sense for objectManager, this leads to unexpected behavior if you want to use ViewHelpers that aren't registered in the DI container. This might happen if you use a composer library that isn't a TYPO3 extension.

I will provide a patch.

Actions

Also available in: Atom PDF