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

Thumbnails of image attachments are not consistent with other file types on deleted pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 18.4.8
    • Live Data
    • Windows 11 Pro, Firefox 159, using an instance of XWiki 18.4.8 on Oracle 19c, Tomcat 11
    • Unknown

    Description

      Steps to reproduce

      1. Create a page
      2. Add some attachments to this page: some images (.png or .jpg) and some other file types, like a .txt and/or .pdf (for better observability)
      3. Delete the page
      4. Go to 'Page Index' > 'Deleted Pages' tab
      5. Click on the deleted page
      6. Click on 'Attachments' tab
      7. Observe the thumbnail of the attachments

      Expected results

      All files thumbnails are consistent (a representative icon for each file type).

      Actual results

      The image attachments have a large thumbnail, taken from their filename (see attached screenshot), which doesn't happen with the other file types (tested with .txt, .pfd and .odt).

      The issue doesn't reproduce on XWiki 18.4.7, where the attachments on deleted page were not displayed at all.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: