Skip to content

Conversation

@koehnlein
Copy link
Contributor

What this pr does

Find correct root page and Site for mountpages.

Before that fix, only the current page id is used to find the correct site. For mountpoints across page trees, this always results in the original site and the page was indexed twice for the original site but not for the correct page tree.

before after

How to test

You need to have multiple page trees. Create a mountpoint of a page inside another page tree and run indexer.

Fixes: #4364

@rastocs2
Copy link

rastocs2 commented Sep 9, 2025

your solution will works only for sites which are on first level in page tree, this is a reason why i suggested to use MP param which already exist there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Mountpoint pages are indexed to incorrect root

2 participants