This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-751d7dc1-9790-4e9f-bc2a-592d5dcc7b12 XWIKI-22757 Open

The history summary includes HTML entities for the deleted attachment action

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-660f8d07-7b60-42e9-a6ee-0433d95680ad Nikita Petrenko created this issue on 07/Jan/25 11:33
 
Summary: The history summary includes HTML entities for the deleted attachment action
Issue Type: cid:jira-generated-image-avatar-751d7dc1-9790-4e9f-bc2a-592d5dcc7b12 Bug
Affects Versions: 16.10.2
Assignee: Unassigned
Components: Attachments
Created: 07/Jan/25 11:33
Labels: usability
Priority: cid:jira-generated-image-static-minor-65ffa12f-d0c1-4ee3-9740-871a90a4093f Minor
Reporter: Nikita Petrenko
Description:
Steps to Reproduce
  1. Upload any attachment to an XWiki page.
  2. Check the history tab; it will display:
    Uploaded new attachment "attachmentName", version 1.1
  3. Delete that attachment and check the history tab again.
Actual Result

The record will display:

Deleted attachment "attachmentName"

. This includes the HTML entity which represents a double-quote

Expected Result

The action should be recorded as:

Deleted attachment "attachmentName"
Note

This behavior is consistent for images, as there is a separate call to the method where the filename is passed.

Although I have not encountered a failed operation, based on the code a failed action would also display the HTML entity instead of the actual double-quote.