Uploaded image for project: 'mod-invoice'
  1. mod-invoice
  2. MODINVOICE-124

Limit document size

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Firebird Sprint 86, Firebird Sprint 87, Firebird Sprint 88
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Overview

      UINV-108 reports that large file uploads crash the browser. I verified that this is also an issue when using the API directly. When I tried this against folio-testing, mod-invoice became unusable and started complaining about insufficient heap space. A module restart was required.

      An easy solution to this is to define and enforce a size limit for invoice documents. The arbitrary limit of 20MB has been chosen for now.

      When a user attempts to upload a document larger than the limit, return an appropriate error message/code.

      It's ok to hardcode this limit for now.

      See https://issues.folio.org/browse/UINV-109 for additional details.

      Acceptance Criteria

      • A document size limit is enforced
      • Appropriate error message/code is returned when the limit is exceeded
      • A note is added to the RAML and/or README indicating this limit.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases