Actions
Bug #104591
closedArgument #1 ($id) must be of type int in DatabaseIntegrityController.php
Start date:
2024-08-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions