This issue has been created
There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7a71bb38-90be-4683-a44f-fd2a9b1a04b0 XWIKI-25601 Open

Error related to LiveData rendering when viewing the Attachments tab of a deleted page

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-bef54d14-41f3-48e4-bb97-1dd86dbe1d61 Ilie Andriuta created this issue on 27/Oct/26 14:59
 
Summary: Error related to LiveData rendering when viewing the Attachments tab of a deleted page
Issue Type: cid:jira-generated-image-avatar-7a71bb38-90be-4683-a44f-fd2a9b1a04b0 Bug
Affects Versions: 18.3.0
Assignee: Unassigned
Components: Live Data
Created: 27/Oct/26 14:59
Environment: Windows 11 Pro, Edge 156, using an instance of XWiki 18.4.7 on Oracle 19c, Tomcat 11
Labels: regression
Priority: cid:jira-generated-image-static-critical-868cb009-522e-43bc-8ccd-e4e584610f4e Critical
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Create a page
  2. Add some attachments (I've used some pictures)
  3. Delete the page
  4. Go to 'Page Index' > 'Deleted Pages' tab
  5. Click on the deleted page to view it
  6. 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.

 
 

2 comments

 
cid:jira-generated-image-avatar-bef54d14-41f3-48e4-bb97-1dd86dbe1d61 Ilie Andriuta on 27/Oct/26 15:01
 

I've set the Priority to Critical since it's not a very recent regression and it's about deleted pages.

 
cid:jira-generated-image-avatar-bef54d14-41f3-48e4-bb97-1dd86dbe1d61 Ilie Andriuta on 27/Oct/26 15:02
 
I've set the Priority to Critical since it's not a very recent regression (started from XWiki 18.3.0 from my tests) and it's about deleted pages.