Skip to content
Snippets Groups Projects
Commit a1db9a24 authored by Oliver Klee's avatar Oliver Klee Committed by Benjamin Mack
Browse files

[FEATURE] Display the bad class name in makeInstance

The class name provided to GeneralUtility::makeInstance must not
start with a backslash. To help track down the offending code parts,
makeInstance now includes the offending class name in the exception
message.

Resolves: #64665
Releases: master
Change-Id: I745840f9d6497b0b73bd2f1872310728e780ae5e
Reviewed-on: http://review.typo3.org/36472


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenjamin Mack <benni@typo3.org>
Tested-by: default avatarBenjamin Mack <benni@typo3.org>
parent 933f1213
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