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

Using setAttachment with the name of an exiting attachment minus its extensions overrides it

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Example of reproduction step from the UI:

      • Creation a new document
      • Upload a first "test.txt" attachment
      • Upload a second "test" attachment

      Excepted result:

      Two attachments in version 1.1 are listed in the attachments pane

      Actual result:

      test.txt is in version 1.2 and has the content of "test" (is, "test.txt" has been overriden)

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: