Actions
Bug #77588
closedSQL Error / Check links
Start date:
2016-08-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
It is possible to get a sql-error in EXT:linkvalidator (info module).
Steps to reproduce:- Create an empty, hidden page
- Go to the linkvalidator
- Run check links (select all link types; check level: This page)
- Get exception Doctrine\DBAL\Exception\SyntaxErrorException (master)
Reason:
LinkAnalyzer::getLinkStatistics doesn’t check against an empty $pidList and could generate an invalid sql-query.
Tested in master(8)/7.6/6.2.
Actions