[!!!][TASK] Always throw exception if a userFunc does not exist 96/50996/9
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 19 Dec 2016 15:31:49 +0000 (16:31 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Sun, 18 Jun 2017 16:13:54 +0000 (18:13 +0200)
commit1de38e97d99dfd383195e5da7da3de75b5bf6e49
tree8b05e86bb3516a865216e9c1f82f7aa3616e6bc3
parent84564da847b634045c40bbf42d705756c8cca5f2
[!!!][TASK] Always throw exception if a userFunc does not exist

The parameter `$errorMode` is removed from the method
`GeneralUtility::callUserFunction()`. Thus, the checks agains this
variable are removed as well, causing exceptions being always thrown now.

Resolves: #74533
Releases: master
Change-Id: Ibf8b0c9de55b4d8d210dac8fc6c82b14ca7c849d
Reviewed-on: https://review.typo3.org/50996
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-74533-ThrowExceptionIfUserFunctionDoesNotExist.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php