I've skipped all line items and attempted to submit the requisition. The backend rejected the submit, since the requisition must contain at least one not skipped line item, however UI has shown a success message despite the failure in the backend (see attached screenshot). We should show a proper message when there's an attempt to do so. Also in no case should the UI show success message despite backend failing.
A proper error message is displayed when I click submit with all line items skipped
If a request to the backend server fails - no success message is displayed
Please take a look and help determine how important this is & whether we should/shouldn't be able to submit a requisition with all line items skipped. We probably have enough capacity to include this in the sprint if needed.
is this an issue with our error handling in general?
Not sure. It looks like it may be.
The backend behavior is correct. We should have correct error messaging. If we can fit this into the sprint it would be good, but I'd put it down the priority list.
Now when user tries to submit requisition with skipped all line items he get notification: "Cannot submit requisition with all line items skipped."