-
-
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
Snail when editing non-numeric characters on enterprise fees #8250
Comments
PR #8308 adresses the flat percent per item calculator, however, this issue should remain open till the following calculators are addressed (ideally with specs smoke-testing/covering these 💪 ):
|
Looking at Filipe's comment in #8308 , I think this was closed by accident. I can confirm, that there are still some snails to fight. SummaryPayment methods are covered in #7841 and have been fixed in #8204, only weight calculator is still triggering the snail. Things left to do in this issueThis is the current status of the calculators:
Steps to Reproduce
I am reopening, but let me know if I am wrong. |
Unless I'm wrong PR #8308 has fixed this. closing. |
You are wrong. 😉 |
ok thanks, what was confusing is that this was in progress on the welcome new dev board |
Hello @filipefurtad0 @drummer83 |
Sure @vsmay98! I have assigned it to you. |
Description
In all things similar to #6942 and #8249, but concerning enterprise fees.
Updating an enterprise fee can cause a server error when entering invalid values.
Expected Behavior
Invalid values should not be allowed or there should be a proper error message.
Actual Behaviour
It shows the snail.
Steps to Reproduce
'20.0'
with the single quotes as fee amount.Animated Gif/Screenshot
Workaround
Severity
bug-s1: a critical feature is broken: checkout, payments, signup, login
bug-s2: a non-critical feature is broken, no workaround
bug-s3: a feature is broken but there is a workaround
bug-s4: it's annoying, but you can use it
bug-s5: we can live with it, only a few users impacted
https://github.com/openfoodfoundation/openfoodnetwork/wiki/Bug-severity
Your Environment
Possible Fix
The only figures that should be allowed are:
The error message should read:
Invalid input. Please use only numbers. For example: 10, 5.5, -20
See PR which introduces a fix for a similar issue, regarding transaction fees.
The text was updated successfully, but these errors were encountered: