Project

General

Profile

Actions

Bug #90760

closed

Link validator throws exception with Page TSConfig configuration on sys_file_reference

Added by Riccardo De Contardi about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2020-03-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I performed the following operation with the latest version TYPO3 10.4.0-dev (latest master)

Info > link validator > check links

It threw an exception:

(1/2) Doctrine\DBAL\Exception\InvalidFieldNameException
An exception occurred while executing 'SELECT `uid`, `pid`, `uid_local`, `link`, `sys_language_uid`, `uid_local:type` FROM `sys_file_reference` WHERE (`pid` IN (?)) AND ((`sys_file_reference`.`deleted` = 0) AND (`sys_file_reference`.`hidden` = 0))' with params [307]: Unknown column 'uid_local:type' in 'field list'

I tried to clear all caches from install tool, updated db schema and dump php autoload without success

[UPDATE]: I've found that params [307]: refers to the page I am when I start the link validator

[UPDATE 2]

the cause of the error was a page TSConfig configuration:

mod.linkvalidator.searchFields.sys_file_reference = link

Environment: MAMP 5.5 on MAC

PHP version: 7.2.21
MySQL version: 5.7.26

Let me know if you need further information or if you think that this issue should be closed


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #83835: Linkvalidator should check more fields by default, such as sys_file_reference.linkUnder Review2018-02-09

Actions
Actions

Also available in: Atom PDF