This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f17a5fb9-9029-47a4-9d1f-75a2b0425fcb XWIKI-25723 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-26557cf0-4428-4606-8590-3f0c17fbf117 Ilie Andriuta created this issue on 10/Nov/26 15:58
 
Summary: Thumbnails of image attachments are not consistent with other file types on deleted pages
Issue Type: cid:jira-generated-image-avatar-f17a5fb9-9029-47a4-9d1f-75a2b0425fcb Bug
Affects Versions: 18.4.8
Assignee: Unassigned
Attachments: Thumbnails_large.png
Components: Live Data
Created: 10/Nov/26 15:58
Environment: Windows 11 Pro, Firefox 159, using an instance of XWiki 18.4.8 on Oracle 19c, Tomcat 11
Labels: consistency
Priority: cid:jira-generated-image-static-major-f669ac2e-7ff5-453a-9365-6c29280a48da Major
Reporter: Ilie Andriuta
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)..

 
 

1 update

 
cid:jira-generated-image-avatar-26557cf0-4428-4606-8590-3f0c17fbf117 Changes by Ilie Andriuta on 10/Nov/26 16:00
 
Description: *Steps to reproduce*
# Create a page
# 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)
# Delete the page
# Go to 'Page Index' > 'Deleted Pages' tab
# Click on the deleted page
# Click on 'Attachments' tab
# 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.