Actions
Bug #79166
closedWrong parameter type in LinkAnalyzer causes exception
Start date:
2017-01-05
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
How to replicated: Run Linkvalidator somewhere that already has broken link. When trying to delete the previous broken links you get a exception.
To fix:
In TYPO3\CMS\Linkvalidator\LinkAnalyzer::getLinkStatistics
$queryBuilder->expr()->in( 'link_type', $queryBuilder->createNamedParameter($checkKeys, Connection::PARAM_INT_ARRAY) )
Should be changed to
$queryBuilder->expr()->in( 'link_type', $queryBuilder->createNamedParameter($checkKeys, Connection::PARAM_STR_ARRAY) )
Tested in T3 8.5.1. PHP 7. MySQL 5.7
Updated by Gerrit Code Review almost 8 years ago
- Status changed from New to Under Review
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/51319
Updated by Georg Ringer almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d827be67d53910057b06b6f6a267920fa1342eee.
Actions