Open dkd-friedrich opened 1 month ago
Test ConnectionManagerTest::canFindSolrConnectionForMountedPageIfMountPointIsGiven
is still disabled and fails.
Reason is probably a bug in RootlineUtility->generateRootlineCache()
, as the pid of the mounted page is used
for the root line instead of the mount page pid like in former versions. We should investigate and discuss this
behavior.
Is there a issue in forge for trouble in
RootlineUtility->generateRootlineCache()
?
Yes, I've created an issue and prepared a patch, see https://forge.typo3.org/issues/105376
I am postponing work on this problem until we receive feedback in https://forge.typo3.org/issues/105376.
Our further action depends on whether the patch is adopted.
Mount point indexing and corresponding tests have been adjusted for TYPO3 13. Mount points are supported in general and the mounted pages will be indexed like standard pages.
But there are some points to consider:
config.index_enable = 1
is set in the pagetree of the mounted page, as TYPO3 loads the TypoScript of the mounted page. This is probably a bug in the TYPO3 core and may change, due to changes in RootlineUtility->generateRootlineCache() the mount page pid isn't used any more.Test procedure in PageIndexerTest has been improved and now uses the PageUriBuilder to build the url to index, instead of building the url in the test itself.
Resolves: https://github.com/TYPO3-Solr/ext-solr/issues/4160