Skip to content
Snippets Groups Projects
Commit d6d7acf6 authored by Martin Kutschker's avatar Martin Kutschker Committed by Christian Kuhn
Browse files

[BUGFIX] Inject Logger into LanguagePackService

The EXT:install ServiceProvider introduced in #89892 didn't respect
that LanguagePackService implements LoggerAwareInterface. That means
the logger variable was null and usages of the logger resulted in
exceptions.

Refactor the class to require the logger instance to always be
injected via constructor injection, to prevent this from happening
again.

Resolves: #93630
Related: #89892
Releases: master, 10.4
Change-Id: I71309863e096e5289336831ec4da294a5bcb65cf
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68170


Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarOliver Wand <wand@itaw.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent c1b70183
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment