Actions
Bug #101243
closedFix in linkvalidator PagesRepository::doesRootLineContainHiddenPages
Start date:
2023-07-05
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
PagesRepository::doesRootlineContainHiddenPages() calls itself. It fetches fields from the DB without "pid" and passes the results to itself, then checks the value of pid, but this is always empty.
42 public function doesRootLineContainHiddenPages(array $pageInfo): bool 43 { 44 $pid = (int)($pageInfo['pid'] ?? 0); .... 59 $row = $queryBuilder 60 ->select('uid', 'title', 'hidden', 'extendToSubpages') .... 72 return $this->doesRootLineContainHiddenPages($row);
Also, it is not necessary to get the title here
Actions