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
Actions