This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-23af5d64-f8cd-4c79-9c6b-2c834ee67efe XWIKI-23783 Open

documentTree Macro: Can't exclude pinned pages

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-dd163164-80e6-4d93-9bf2-e2cb7e2c9256 metawiki created this issue on 02/Dec/25 14:09
 
Summary: documentTree Macro: Can't exclude pinned pages
Issue Type: cid:jira-generated-image-avatar-23af5d64-f8cd-4c79-9c6b-2c834ee67efe Bug
Affects Versions: 16.10.15, 16.4.0-rc-1
Assignee: Unassigned
Components: Index
Created: 02/Dec/25 14:09
Environment: XWiki Docker
Priority: cid:jira-generated-image-static-minor-13bba306-7d49-4338-b043-2503cc20fbba Minor
Reporter: metawiki
Description:

Hi,

first bug report here. Regarding the documentTree macro.

Please let me know what I can do make helpful bug reports.

Page Structure:

Page1
Page2
Page3
Page3.Subpage1 
Page3.Subpage2 ← pinned
Page3.Subpage3
Page3.Subpage4 ← pinned
Page3.Subpage5

Macro invocation code:

{{documentTree root="document:Page3.WebHome" exclusions="document:Page3.Subpage2.WebHome,document:Page3.Subpage4.WebHome"/}}

Expected Result:

A document tree containing:

Page3.Subpage1 
Page3.Subpage3
Page3.Subpage5

Actual Result:

A document tree containing:

Page3.Subpage2
Page3.Subpage4{}{}
Page3.Subpage1 
Page3.Subpage3
Page3.Subpage5

Background:

This could just be a documentation problem. Judging from XWiki 16.4.0RC1 release notes I would not have expected pinned pages to be non-exludable.