Uploaded image for project: 'ui-invoice'
  1. ui-invoice
  2. UINV-109

Limit document size

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 80
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Overview

      UINV-108 reports that large file uploads crash the browser. As it turns out, invoice documents should never reach the sizes used to reproduce that issue. They will typically be PDFs that are a few pages long.

      Enforcing a size limit of 20MB for invoice documents is a reasonable way to avoid this issue.

      If there is some need to attach a document larger than this limit, it can always be "linked" to the invoice instead of uploaded.

      It's OK to hardcode this limit for now.

      When a user tries to upload a file larger than the limit, an appropriate error message is displayed.

      NOTE: A separate story will address a similar memory pressure issue on the backend

      Acceptance Criteria

      • A file upload size limit is enforced
      • Appropriate error message is returned when uploading files exceeding the size limit

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases