Ticket#63003: Non-numeric quantity returns a technical error message #30

Open
opened 2026-12-02 21:19:56 +00:00 by samahk13 · 0 comments
Owner

Reported in Zammad Ticket#63003 by Secondary Customer: "when I typed 'abc' as the quantity, the page showed a confusing technical error."
GET /price?quantity=abc returns HTTP 400 with Python's text invalid literal for int() with base 10: 'abc'.
Acceptance criterion: GET /price?quantity=abc returns HTTP 400 with the message quantity must be a whole number between 1 and 1000, and a unit test covers it.

Reported in Zammad Ticket#63003 by Secondary Customer: "when I typed 'abc' as the quantity, the page showed a confusing technical error." GET /price?quantity=abc returns HTTP 400 with Python's text invalid literal for int() with base 10: 'abc'. Acceptance criterion: GET /price?quantity=abc returns HTTP 400 with the message quantity must be a whole number between 1 and 1000, and a unit test covers it.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SSW-590-08/Scrap-Web#30