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

Cannot delete invoice with attached document; no reason given in UI

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Labels:
    • Template:
      Front-end User Story Template
    • Sprint:
      ACQ Sprint 108
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Overview:

      When attempting to delete an invoice that has an attached document, the UI will not allow the Delete action, and the error message is difficult to understand.

      Scenarios

      1. Scenario 
        • Given user has created an invoice
        • When trying to delete that invoice
        • Then user is intercepted by delete confirmation and the message displays as per the screenshot
      2. Scenario
        • Given the invoice the user is trying to delete has a document(s) attached
        • When click clicking delete confirmation
        • Then all documents are also deleted

      Previously filed as a bug: (Updated to reflect current behavior in Honeysuckle release)

      Steps to Reproduce:

      1. Log into some FOLIO environment as User X
      2. Go to Invoices
      3. Find an Invoice with an attached document that you want to delete (if not extant, make a dummy)
      4. Select Delete from the Actions button menu

      Expected Results:
      Either an error toast indicating the record cannot be deleted because of an attached document, or better, an confirmation modal that allows the user to continue and delete both the invoice and the document.

      Actual Results:
      User is left hanging with no visual indication why deletion failed

      Interested parties:
      Washington & Jefferson College (c/o Ian Walls at ByWater)

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                sekjal Ian Walls
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases