Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
18.3.0
-
Windows 11 Pro, Edge 156, using an instance of XWiki 18.4.7 on Oracle 19c, Tomcat 11
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce
- Create a page
- Add some attachments (I've used some pictures)
- Delete the page
- Go to 'Page Index' > 'Deleted Pages' tab
- Click on the deleted page to view it
- Click on 'Attachments' tab on this page
Expected results
No errors are logged.
Actual results
The following error is displayed in XWiki console:
2026-10-27 14:40:58,572 [qtp1890627974-544 - http://localhost:1847/xwiki/rest/liveData/sources/liveTable/entries?timestamp=1793104858553&namespace=wiki%3Axwiki&sourceParams.template=xpart.vm&sourceParams.rev=deleted%3A1&sourceParams.%24doc=edel.WebHome&sourceParams.translationPrefix=core.viewers.attachments.livetable.&sourceParams.vm=attachmentsjson.vm&sourceParams.queryFilters=currentlanguage%2Chidden&sourceParams.className=XWiki.AllAttachments&properties=mimeType&properties=filename&properties=filesize&properties=date&properties=author&offset=0&limit=5] ERROR o.a.v.rendering - Right side ($totalrows) of comparison operation has null value at environment:/skins/flamingo/attachmentsjson.vm[line 40, column 19]
The issue reproduces as well on XWiki 18.4.4 and 18.9.0, but could not be reproduced on XWiki 18.2.1 or 17.10.14.
Attachments
Issue Links
- is caused by
-
XWIKI-14807 The attachments tab does not take into account the document revision
-
- Closed
-