Project

General

Profile

Actions

Bug #103606

open

No search results due to empty rootPidList & Site Sets

Added by Oliver Hader 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Should have
Category:
Indexed Search
Target version:
-
Start date:
2024-04-11
Due date:
% Done:

0%

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

Description

https://github.com/TYPO3/typo3/blob/main/typo3/sysext/indexed_search/Classes/Controller/SearchController.php#L147-L155

The source location above contains a hint concerning the rl0 field, that is used and filled during the indexing process, based on sys_template records having the root flag set (which is not the case anymore when using Sets).

https://github.com/TYPO3/typo3/blob/main/typo3/sysext/indexed_search/Classes/Domain/Repository/IndexSearchRepository.php#L722-L726

The source location above adds a constraint like rl0 IN ('0') (also due to "magic" type-casts of configuration property rootPidList) - which results in not showing any results (even if data has been indexed).

https://github.com/TYPO3/typo3/blob/main/typo3/sysext/indexed_search/Classes/Indexer.php#L1424

The source location above actually sets & persists the rl0 value during the indexing process, based on sys_template records having the root flag set (which is not the case anymore when using Sets).


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #84919: Indexed-Search - Configuration New2018-05-03

Actions
Actions #1

Updated by Oliver Hader 3 months ago

  • Description updated (diff)
Actions #2

Updated by Riccardo De Contardi 5 days ago

  • Related to Bug #84919: Indexed-Search - Configuration added
Actions

Also available in: Atom PDF