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

Upload of files >2GB fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.0-rc-1
    • 8.0
    • Old Core
    • Unknown
    • N/A

    Description

      Problem description:
      Files, which exceed 2GB in size, aren't uploaded as an attachment correctly.
      The progress bar UI element shows the correct file size, the file size after uploading the file is -[random_number]. The file itself is truncated at 2GB after uploading. The database column XWA_SIZE in table xwikiattachment is set to "int" instead of "bigint".

      How to reproduce:
      Upload any file exceeding 2GB in size to XWiki

      Attachments

        1. Database.PNG
          2 kB
          Bernhard Kresina
        2. File_1.PNG
          5 kB
          Bernhard Kresina
        3. File_2.PNG
          13 kB
          Bernhard Kresina
        4. Upload_Progress_Bar.PNG
          6 kB
          Bernhard Kresina

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              bernhard.kresina Bernhard Kresina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: