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.
- 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
Steps to Reproduce:
- Log into some FOLIO environment as User X
- Go to Invoices
- Find an Invoice with an attached document that you want to delete (if not extant, make a dummy)
- Select Delete from the Actions button menu
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.
User is left hanging with no visual indication why deletion failed
Washington & Jefferson College (c/o sekjal at ByWater)