Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17351

Copy/Paste a set of files must not exceed quota

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF13, 7.3
    • Fix Version/s: 6.0-HF15, 7.10, 8.1
    • Component/s: Quotas

      Description

      Step to reproduce :

      • Set your quota to 500MB
      • Upload a file of 100MB
      • Copy/Paste this file 3 times (your used quota should be 400MB)
      • Select the 4 files, and click Copy
      • Paste this set of files
        Result : Quota exceed
        Expected: One more files to be copied then other copy must be aborted

      This happens because QuotaSyncListenerChecker#processDocumentCreated check file by file the remaining quota and trigger asynchronously event to update the quota size. The idea is to use a cache to store a temporary quota that is updated synchronously.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.