Issue Bug Closed

#91750Depencency Injection not working for xclass controllers

Torben Hansen 07/06/20, 13:08 updated 06/19/21, 13:01

Description

When I extend an Extbase Controller using xclass, it seems not to be possible to use Dependency Injection for the xclassed controller. I tried to use constructor injection and injectMethod injection, but both does not work. Tested in TYPO3 v9 and v10.

If this is intended behavior, I will update the documentation about this. But first I need an explanation either why this is not working or how DI can be used in xclassed controllers.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.