Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25601

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 18.10.0-rc-1, 18.4.8
    • 18.3.0
    • Live Data
    • 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

      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.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: