Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
ACQ Sprint 81
-
2
-
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
Spike documented on wiki
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-697 Ability to facilitate ordering and invoicing in currencies other than default currency
-
- Closed
-
- has to be done before
-
MODINVOICE-124 Limit document size
-
- Closed
-
- is cloned by
-
MODINVOICE-142 Spike: Investigate limiting document size on upload for application/octet-stream POST
-
- Closed
-
- relates to
-
MODINVOICE-142 Spike: Investigate limiting document size on upload for application/octet-stream POST
-
- Closed
-