Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
16.10.6, 17.3.0-rc-1
-
None
-
Windows 11 Pro, Firefox 137, using an instance of XWiki 16.10.6 on PostgreSQL 17, Tomcat 9.0.104
-
Unknown
-
Description
Steps to reproduce
- Edit the Sandbox.WebHome page in WYSIWYG mode
- Click on Insert > Other Macros > Children
- Click 'Select'
- Insert a Root parameter, likeĀ xwiki:Sandbox
- Click 'Submit'
Expected results
The macro is inserted with the children being displayed. No errors occur in the logs.
Actual results
The following error is displayed in XWiki console:
2025-04-28 19:04:16,501 [http-nio-1115-exec-2 - http://localhost:1115/xwiki/bin/get/Sandbox/WebHome?] ERROR o.a.v.rendering - Left side ($childNodeIds.size()) of comparison operation has null value at xwiki:XWiki.DocumentTreeMacros[line 179, column 29]
No pages are displayed on the macro.
Attachments
Issue Links
- is related to
-
XWIKI-23152 Provide picker for tree macros using entityType:entityReference format
-
- Open
-
- relates to
-
XWIKI-23041 Allow choosing the parent page for the children macro
-
- Closed
-