Project

General

Profile

Actions

Bug #77588

closed

SQL Error / Check links

Added by Daniel Windloff over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Linkvalidator
Target version:
-
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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #76558: Doctrine: Migrate ext:linkvalidator/LinkAnalyzer.phpClosed2016-06-09

Actions
Actions

Also available in: Atom PDF