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

Unable to delete document when sum of attachments in size is greater than max_allowed_packet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
    • Environment:
      XWiki 3.1
      MySQL 5.0.77
      Database file storage
    • keywords:
      delete document attachment max_allowed_packet
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      To reproduce the issue perform following steps

      1. Set max_allowed_packet to e.g. 32MB
      2. Upload several different files so that in total they were e.g. 55MB
      3. Re-upload few of already uploaded files so that they had versions 1.2
      4. When you try to delete the document, an error occurs (see the attached file)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                coldserenity Roman Arkadijovych Muntyanu
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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