Bug #104591
closedArgument #1 ($id) must be of type int in DatabaseIntegrityController.php
100%
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
Updated by Gerrit Code Review 3 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Christian Kuhn 3 months ago
- Related to Task #104607: Deprecate BackendUserAuthentication:returnWebmounts() added
Updated by Gerrit Code Review 3 months ago
Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85586
Updated by Gerrit Code Review 3 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85614
Updated by Anonymous 3 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e53b7c3c3591279b7516e834a764dd0c19ef0f2b.
Updated by Thomas Hohn 3 months ago
- Related to Task #104614: BackendUserAuthentication::getWebmounts() should return an unique list added