Closed
Bug 501793
Opened 17 years ago
Closed 17 years ago
Error message on entering 0.000 as suggested amount in contributions page
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
VERIFIED
WONTFIX
5.0.7
People
(Reporter: krupa.mozbugs, Unassigned)
References
()
Details
Steps to reproduce:
1.Log in to your developer AMo account
2.Navigate to Developer dashboard->edit add-on->Contributions
3.Enter your paypal account details
4.In suggested amount field,enter "0.000"
expected result:
Since the suggested ranged is 00.00 to 99.99,0.000 should also be accepted
actual result:
There is an error message thrown-"Should be a positive number between 0.00 and 99.99."
screenshot:http://screencast.com/t/jubEaPjah
Comment 1•17 years ago
|
||
I would say this is invalid, because 3 decimal places is not valid money and we're not in the business of rounding your money, even for obvious cases like this.
It would be possible to convert the string to a number and multiply by 100 and truncate, but that sounds complicated and complaining about valid inputs is so much easier.
Other opinions welcome.
Hardware: x86 → All
Comment 2•17 years ago
|
||
(In reply to comment #1)
> I would say this is invalid, because 3 decimal places is not valid money and
> we're not in the business of rounding your money, even for obvious cases like
> this.
agreed
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•