Error loading children. Internal Server Error displayed in the page tree
Description
Instead of the page tree the message "Error loading children. Internal Server Error" is displayed in the page tree.
We need to avoid IndexOutOfBoundsException if the resolved page via the index is already deleted
Since we improved the check for deleted pages it could happen the related code get's a pageId from the index but the page is trashed and returns an empty list instead of a list including a page.
Instead of the page tree the message "Error loading children. Internal Server Error" is displayed in the page tree.
We need to avoid IndexOutOfBoundsException if the resolved page via the index is already deleted
Since we improved the check for deleted pages it could happen the related code get's a pageId from the index but the page is trashed and returns an empty list instead of a list including a page.