[BUGFIX] Throw exception in case FileWriter's logFile is invalid 31/58031/2
authorOliver Hader <oliver@typo3.org>
Fri, 24 Aug 2018 16:23:19 +0000 (18:23 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 25 Aug 2018 11:44:39 +0000 (13:44 +0200)
commitdc1795ee583f3bea4643819e18b1998103da78be
tree7241eb651cd2d0507b093ce271325d4045ee3a7b
parent4429f47c519e9add4c007741bfeffb40792001b4
[BUGFIX] Throw exception in case FileWriter's logFile is invalid

GeneralUtility::getFileAbsFileName($logFile) never results in `null`,
but in some empty string in case the $logFile is invalid.

Resolves: #85973
Releases: master, 8.7
Change-Id: I2890bbf172c8f540dd2fa2775a9479d5c644b172
Reviewed-on: https://review.typo3.org/58031
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Log/Writer/FileWriter.php