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

AttachmentIT UI test cannot run on NTFS filesystems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 16.8.0
    • Flamingo Skin
    • None
    • Windows
    • Unknown

    Description

      One of the tests in AttachmentIT, `checkEscapingInAttachmentName`, checks that filenames are properly escaped and are not interpreted as HTML during the upload. The current implementation of this test creates a local file `<strong>EscapedAttachment.txt` and uploads it on the tested instance.

      Such a filename is invalid on NTFS filesystems, which means that the test will surely failed when executed on Windows. We need a better way to send resources to the test container that do not rely on creating the file locally first.

      See https://github.com/xwiki/xwiki-platform/pull/3524

      Attachments

        Activity

          People

            Unassigned Unassigned
            pjeanjean Pierre Jeanjean
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: