mozilla / sumo

Project management board for SUMO and Community properties.
Mozilla Public License 2.0
14 stars 5 forks source link

500 error returned after posting a question which is automatically flagged as spam #2069

Open emilghittasv opened 1 day ago

emilghittasv commented 1 day ago

Preconditions Sign in to SUMO.

Steps to reproduce Steps to reproduce the behavior:

  1. Post a question to a freemium product containing a toll-free number (example: 800, 888, 877, 866, 855, 844 and 833) inside the question body.

Expected behavior The question is submitted, marked as spam and no 500 error message is returned.

Actual behavior The question is submitted, marked as spam but a 500 error message is returned. Sentry fires a IntegrityError: https://mozilla.sentry.io/issues/6078804975/?project=4504326797197312&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&statsPeriod=24h&stream_index=0

Screencasts 500SpamQuestion

Desktop:

Additional context This issue is reproducible in stage.

smithellis commented 1 day ago

This may resolve the issue: https://github.com/mozilla/kitsune/pull/6369