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

Maximum attachment size is porly documented

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.840
    • Fix Version/s: 1.0 B1
    • Component/s: Storage
    • Labels:
      None
    • Environment:
      Basic mysql
    • Similar issues:

      Description

      When attaching large files to a page (say, 20+ megabytes), the files get truncated by the default setup in MySQL. That's due to the size of the MEDIUMBLOB column used to store the attachment data. Changing the type to LONGBLOB fixes the problem, but that's not the type of thing people might think about. The instructions for increasing the max_packet_size should mention the BLOB issue.

      Ideally, xwiki would return an error if a user tried to upload an attachment that exceeded the storage space.

        Attachments

          Activity

            People

            • Assignee:
              chungnv Nguyen Viet Chung
              Reporter:
              ericeslinger Eric Eslinger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: