Bug #80592
closedScheduler->log() defines $code as string but writeLog wich expects Integer
100%
Description
In TYPO3\CMS\Scheduler\Scheduler the log method expect a $code to be a string.
but BackendUserAuthentication Expect its Fourth parameter to be Integer.
as BackendUserAuthentication cast the Paramete Explicitly the $code information is lost.
/** * This is a utility method that writes some message to the BE Log * It could be expanded to write to some other log * * @param string $message The message to write to the log * @param int $status Status (0 = message, 1 = error) * @param mixed $code Key for the message */ public function log($message, $status = 0, $code = 'scheduler') { // Log only if enabled if (!empty($this->extConf['enableBELog'])) { $GLOBALS['BE_USER']->writelog(4, 0, $status, $code, '[scheduler]: ' . $message, []); } }
Updated by Thomas Hohn over 7 years ago
- Description updated (diff)
- Target version set to 9.0
- TYPO3 Version changed from 8 to 7
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52553
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52553
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52553
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52846
Updated by Georg Ringer about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset bbf4b2d089f95413e8f8acea9e53e973ec95222e.