Details

    • Type: Service Pack Request
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 5.2.6
    • Fix Version/s: 5.2.N, 6.0.N, 6.1.N
    • Component/s: Share Application
    • Labels:
      None
    • Bug Priority:
      Category 2
    • ACT Numbers:

      00994676, 00997706, 01012508

      Description

      Description
      Issue encountered when the files required to be downloaded are exceeding the value set in "download.maxContentSize".

      Steps to reproduce
      1. Install fresh ACS 5.2.6
      2. Set download.maxContentSize to something manageable for testing purposes in alfresco-global.properties:

      download.maxContentSize=524288
      

      2. Log in to Share and upload 2 files summing 1MB
      3. Select files uploaded previously and download them as a zip file by pressing the "Download as zip" button.

      Observed Behaviour
      A loading screen appears with the text "Creating zip file" but nothing happens.

      Expected Behaviour
      Get the message: "The content is too large to download. The maximum download size is 512 KB, the selected files are 1MB."

      Additional Information
      The problem seems to be in share/src/main/webapp/components/download/archive-and-download.js line 181:

      else if (response.json.entry.status == "MAX_CONTENT_SIZE_EXCEEDED") 
      

      The return json doesn't have "entry.status" just "status", so this part:

      if (r.json.entry.status == 'MAX_CONTENT_SIZE_EXCEEDED') 
      

      should be:

      if (r.json.status == 'MAX_CONTENT_SIZE_EXCEEDED') 
      

      Just like three lines above:

      if (r.json.status == 'DONE') 
      

      There is no issue in ACS 5.2.0.1.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  apetrache Alin Petrache [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Structure Helper Panel