This issue has been created
There are 2 updates, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-5f518209-26d5-4fa0-a117-ecc9aaae7cc6 XWIKI-24095 Open

Siblings panel seems to display children when displayed for a non-terminal page

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e5b1b2e1-a00e-4f96-af20-57430c54d9a3 Anca Luca created this issue on 08/Mar/26 15:45
 
Summary: Siblings panel seems to display children when displayed for a non-terminal page
Issue Type: cid:jira-generated-image-avatar-5f518209-26d5-4fa0-a117-ecc9aaae7cc6 Bug
Affects Versions: 17.8.0
Assignee: Unassigned
Components: Panels
Created: 08/Mar/26 15:45
Priority: cid:jira-generated-image-static-major-96a17e9d-bc4d-4cb2-b1ab-1e0107cf9442 Major
Reporter: Anca Luca
Description:

The siblings panel, introduced for XWIKI-12599, displays the tree rooted in the current page's "space" (parent in the sense of the DocumentReference sense), which displays the actual children of the current page, not its siblings; actually, it's the siblings of the WebHome page of a page tree, which are actually its children).

More specifically, if you do the following:

  • create page A, non terminal
  • as children of page A, create pages B and C, non terminal as well
  • as a child of page B, create page D, non terminal
    • at this point, the pages with the following references should be present on your wiki: A.WebHome, A.B.WebHome, A.C.WebHome, A.B.D.WebHome
  • go to the administration of page A and configure the panel "Sibling pages" to be displayed on the page tree, on the left or right, it doesn't matter
  • navigate to page B

Expected result:

  • sibling pages panel should display pages B and C with page B being selected
  • page B should be unfoldable to reveal page D

Actual result:

  • sibling pages panel displays page D (the child of B)
 
 

2 updates

 
cid:jira-generated-image-avatar-e5b1b2e1-a00e-4f96-af20-57430c54d9a3 Changes by Anca Luca on 08/Mar/26 15:46
 
Description: The siblings panel, introduced for XWIKI-12599, displays the tree rooted in the current page's "space" (parent in the sense of the DocumentReference sense), which displays the actual children of the current page, not its siblings; actually, it's the siblings of the WebHome page of a page tree, which are actually its children).

More specifically, if you do the following:
* create page A, non terminal
* as children of page A, create pages B and C, non terminal as well
* as a child of page B, create page D, non terminal
** at this point, the pages with the following references should be present on your wiki: A.WebHome, A.B.WebHome, A.C.WebHome, A.B.D.WebHome
* go to the administration of page A and configure the panel "Sibling pages" to be displayed on the page tree, on the left or right, it doesn't matter
* navigate to page B

Expected result:
* sibling pages panel should display pages B and C
( with page B being selected , optional)
* page B should be unfoldable to reveal page D

Actual result:
* sibling pages panel displays page D (the child of B)

!actualResult.png|thumbnail!
Attachment: actualResult.png
 
 

2 comments

 
cid:jira-generated-image-avatar-e5b1b2e1-a00e-4f96-af20-57430c54d9a3 Anca Luca on 08/Mar/26 15:47
 

If, after having done the steps in the description of this ticket, an extra page, E, is created, terminal, as a child of A, and one navigates to page E, the sibling pages panel will indeed display B, C and E.

 
cid:jira-generated-image-avatar-e5b1b2e1-a00e-4f96-af20-57430c54d9a3 Anca Luca on 08/Mar/26 15:51
 
If, after having done the steps in the description of this ticket, an extra page, E, is created, _terminal_, as a child of A, and one navigates to page E, the sibling pages panel will indeed display B, C and E.

!image-2026-03-08-15-51-25-844.png|thumbnail!