Issue Bug Closed

#77588SQL Error / Check links

Daniel Windloff 08/22/16, 19:36 updated 10/02/18, 11:07

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.

Reviews 3