Page MenuHomePhabricator

Synchronize amount checking between frontend and backend
Closed, ResolvedPublic3 Estimated Story Points

Description

There seems to be a slight difference between client-side and server-side validation of the donation amount. When entering an amount of 100.000, the client-side validation passes. But sending the form results in reloading it and not displaying any error message to users. Although this is quite an edge case, the client and server should validate based on the same constraints.

Acceptance Criteria

  • Amounts of 100.000 Euro and above fail on both client and server side.

Notes
The error log shows some instances of backend validation failing when the custom amount is "100000". This should have been caught on the client.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript