[BUGFIX] Throw exception in case FileWriter's logFile is invalid 36/58036/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 12:04:00 +0000 (14:04 +0200)
commitecda10ac37072ed865a7a2ffe74d1794c100a4ab
tree97f6fc67977a10d9b416c4c9570e89efb9d2f4a8
parentf0884db41c5176e7cb82472ca88ca20529b17ab4
[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/58036
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Log/Writer/FileWriter.php