You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When posting incorrect labelled data to /news/subscribe/ (in this case it was fmt=H instead of format=H), basket gives a success message but then fails silently and does not generate a confirmation email. Instead, it should return an error so it's clear to clients that something went wrong.
Expected result:
{"status": "error", "desc": "Unknown data"} (or something along these lines)
Actual result:
{"status": "ok"}
The text was updated successfully, but these errors were encountered:
Ran into this error recently whilst working on mozilla/bedrock#11944
When posting incorrect labelled data to
/news/subscribe/
(in this case it wasfmt=H
instead offormat=H
), basket gives a success message but then fails silently and does not generate a confirmation email. Instead, it should return an error so it's clear to clients that something went wrong.Expected result:
{"status": "error", "desc": "Unknown data"}
(or something along these lines)Actual result:
{"status": "ok"}
The text was updated successfully, but these errors were encountered: