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

The history summary includes HTML entities for the deleted attachment action

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 16.10.2
    • Attachments
    • Unknown

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            npetrenko Nikita Petrenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: