Bug #94698

LinkAnalyzerResult no longer compatible with SQLite

Added by Daniel Siepmann 2 months ago. Updated about 1 month 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.

#1

Updated by Gerrit Code Review 2 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70195

#2

Updated by Daniel Siepmann 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#3

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF