Moved child page cannot be found through ancestor query

  1. Create a page tree like so:
    • Container page
    • Parent page
      • Child page
  2. Now move “Parent page” underneath “Container page” (using the sidebar or the Move page menu). The page tree now looks like this:
    • Container page
      • Parent page
        • Child page

“Child page” is now a descendant of “Container page”. What works correctly:

  • Expanding descendants.page on “Container page” lists “Parent page” and “Child page”
  • Expanding ancestors on “Child page” lists “Container page” and “Parent page”

What doesn’t work:

  • Searching with the CQL query ancestor = <Container page ID> lists “Parent page”, but not “Child page”.

This behaviour only happens on Cloud, not on Server.

1 Like

Hi @candid,

Thank you for taking the time to explain this issue so clearly. I’ve reproduced it and have consequently created https://jira.atlassian.com/browse/CONFCLOUD-71276 for the Confluence team to address.

Regards,
Dugald

1 Like