Bug #94698

LinkAnalyzerResult no longer compatible with SQLite

Added by Daniel Siepmann 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Category:
Linkvalidator
Target version:
Start date:
2021-08-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The code was changed and does pass db results to further APIs.
Those expect integer, but doctrine still does not convert db results and just returns strings, that will break.

Two issues exist:

Uncaught TYPO3 Exception Argument 1 passed to TYPO3\CMS\Core\Site\SiteFinder::getSiteByPageId() must be of the type int, string given, called in /home/daniels/Projects/own/website-typo3/project/pu
blic/typo3/sysext/linkvalidator/Classes/Result/LinkAnalyzerResult.php on line 257
thrown in file /home/daniels/Projects/own/website-typo3/project/public/typo3/sysext/core/Classes/Site/SiteFinder.php
in line 114
Uncaught TYPO3 Exception Argument 1 passed to TYPO3\CMS\Core\Site\Entity\Site::getLanguageById() must be of the type int, string given, called in /home/daniels/Projects/own/website-typo3/project/public/typo3/sysext/linkvalidator/Classes/Result/LinkAnalyzerResult.php on line 258
thrown in file /home/daniels/Projects/own/website-typo3/project/public/typo3/sysext/core/Classes/Site/Entity/Site.php
in line 241

Those will be triggered by scheduler task.

Also available in: Atom PDF