Skip to content
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

[Spree 2.1] Update and Calculate Fees button leads to blank page #5362

Closed
filipefurtad0 opened this issue May 4, 2020 · 0 comments · Fixed by #5383
Closed

[Spree 2.1] Update and Calculate Fees button leads to blank page #5362

filipefurtad0 opened this issue May 4, 2020 · 0 comments · Fixed by #5383
Assignees

Comments

@filipefurtad0
Copy link
Contributor

Description

Independently of whether changes were made to an order or not, pressing the Update Fees and Calculate Fees button leads to blank page. Bugsnag is triggered:
https://app.bugsnag.com/yaycode/openfoodnetwork-uk/errors/5eaed1f6da09e400170360a5?event_id=5eaed1f6005b3497ef280000&i=sk&m=nw

Expected Behavior

Changes should be saved to the order, or alerts should be triggered in the case of mandatory fields. Currently, if all items are removed and the Update button is pressed the red banner appears "Line items can't be blank".
If nothing was changed then the button should not do much, I think it just reloads the page.

Actual Behaviour

Pressing the Update Fees and Calculate Fees button leads to a blank page.

Steps to Reproduce

  1. As an admin, edit an existing order in page /admin/orders/ordernumber/edit
  2. Press the Update and Calculate Fees button

Animated Gif/Screenshot

image

Workaround

Severity

Your Environment

*Version used:
*Browser name and version: Firefox 75
*Operating System and version (desktop or mobile): Ubuntu 18.04 64

Possible Fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants