-
-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugsnag when printing of alternative-invoice of orders in cart state #5708
Comments
This issue concerns the alternative invoice only - I've updated the title. Some additional notes:
However:
and leaves the user with the endless spinner. Waiting long enough should display: |
Hello @filipefurtad0. I recreated this issue, please find the video below. However, as you can see below, the system actually created the invoices without any issue. I wanted to confirm the expected behavior: If an order in Screen.Recording.2021-09-13.at.20.59.30.movEDIT: After certain period of time, I tried to reprint the invoices, as you mentioned above I get an endless spinner. The reason is that from the user side (who created the order), the cart is emptied automatically, after certain period. However, from the admin side, I can still see the order in the orders list with - QUICK WIN: Disable the |
Hey @sinansonmez , Agree with your proposal as quick win, as this is the current behavior, when one tries to print each order, under This menu becomes enabled once an order is in state =
This should prevent the endless spinner from being displayed to the user. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Hey, I believe this card is no longer valid. The view logic has changed in #10833 |
Thanks @pedrocarmona ! Closing :) |
Description
Bulk printing of orders in cart state generates errors 422 (seen in the console) and Bugsnag errors, across staging servers (both v3 and v2.1). The user sees an endless-spinner and several GET requests are sent.
In staging-ES:
https://app.bugsnag.com/katuma/katuma/errors/5ef35f60d643330019edb2c6?filters[event.since][0]=30d&filters[error.status][0]=open
In staging-AU
https://app.bugsnag.com/yaycode/openfoodnetwork/errors/5ef367c30c9a67001715b9dc?event_id=5ef367c3005b7b5abac50000&i=sk&m=nw
Expected Behavior
Hide the print invoice button when showing incomplete orders.
Actual Behaviour
Send a bulk print job to cart state orders triggers (many) errors above and leaves the user with an endless spinner.
Steps to Reproduce
Animated Gif/Screenshot
Workaround
You need to press escape or F5 to exit the endless-spinner.
Severity
This is probably an edge case, but generates a lot of errors...
bug-s3: a feature is broken but there is a workaround
Your Environment
Possible Fix
The text was updated successfully, but these errors were encountered: