#103606No search results due to empty rootPidList & Site Sets
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).
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 4
-
Oliver Hader changed description <span data-processor="relativetime" data-value="2024-04-11T12:16:07+00:00" > 04/11/24, 12:16 </span>
-
Riccardo De Contardi changed Related to #84919 <span data-processor="relativetime" data-value="2024-07-12T21:37:09+00:00" > 07/12/24, 21:37 </span>
-
Benjamin Franzke commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2024-10-08T15:13:58+00:00" > 10/08/24, 15:13 </span> -
Benni Mack commented and changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2025-03-23T21:54:32+00:00" > 03/23/25, 21:54 </span>Dear Oliver,
I hope you still use TYPO3. however, we haven’t heard from you in a while. Nobody else chimed in and Benjamin’s comment is very old – like we all are. So to slim down our pending issues, I will close this issue due to lack of feedback after 90 days.
Hope you are doing fine.
Benni.
Hi, can you still reproduce this in latest main? (I suppose this one used your surfcamp site?)
It works for me with EXT:styleguide and I can not find code that actually tries to read/parse sys_template – it seems to use the rootline which is properly generated with site sets.
I assume this can be closed, but the comments like the following seems to be very old and probably not true anymore