ext-solr
ext-solr copied to clipboard
[BUG] SiteRepository::getSiteByRootPageId() will raise PHP error instead of "No site could be found." when site config is missing
trafficstars
Describe the bug In typo3 V12, with solr v12.0.2, an error message occurs when we try to open the "Index Queue" module, with a missing Solr configuration or by selecting the page with UID = 0.
To Reproduce Steps to reproduce the behavior:
- Go to "Index Queue" module
- Select Page with UID = 0 or a page without Solr configuration
- See error
Expected behavior An alert message displays the message : "No site could be found. Please choose other page in the page tree, which has solr configured."
Used versions
- TYPO3 Version: 12.4.13
- Browser: chrome
- EXT:solr Version: 12.0.2
- PHP Version: 8.2
- MySQL Version: 8.0.23
Fixed with 817b77d in v12.0.3.
i'll try it, Thank you for your help.
Fixed with 817b77d in v12.0.3.