#104591Argument #1 ($id) must be of type int in DatabaseIntegrityController.php
Description
With the introduction of types on the method getTreeList (TYPO3\CMS\Lowlevel\Controller\DatabaseIntegrityController)
there is a missing cast for mountpoints – since the method call $backendUserAuthentication->returnWebmounts()
returns a string list of mountpoints causing the calls
$this->getTreeList($webMount, 999, 0, $perms_clause);
to throw an type error as stated below:
vendor/typo3/cms-lowlevel/Classes/Controller/DatabaseIntegrityController.php, line 640: TYPO3\\CMS\\Lowlevel\\Controller\\DatabaseIntegrityController::getTreeList(): Argument #1 ($id) must be of type int, string given, called in /mnt/opt/share/TYPO3_systime_internetbook_bundle-development-9bb28736fcdefa7bb5a5977295069781c4f3fdaf/vendor/typo3/cms-lowlevel/Classes/Controller/DatabaseIntegrityController.php on line 1894 -
The fix is straight forward to cast webMount in the calls