JoinNotAllowed should cause a 400 response when raised on the API layer

Bug #244527 reported by Guilherme Salgado
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
j.c.sackett

Bug Description

As seen on OOPS-912S73, if someone tries to join a restricted team, they'll get a 500 response, which in turn causes that OOPS to show up in our reports. That exception should cause a 400 response when raised on the webservice layer, since that's something that may happen and should not show up in our OOPS reports as something that needs fixing.

Related branches

Curtis Hovey (sinzui)
affects: launchpad-foundations → launchpad-registry
Changed in launchpad-registry:
importance: Undecided → Low
status: New → Triaged
Curtis Hovey (sinzui)
visibility: private → public
Curtis Hovey (sinzui)
Changed in launchpad-registry:
milestone: none → 10.11
tags: added: api
Curtis Hovey (sinzui)
tags: added: trivial
j.c.sackett (jcsackett)
Changed in launchpad-registry:
assignee: nobody → j.c.sackett (jcsackett)
j.c.sackett (jcsackett)
Changed in launchpad-registry:
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in launchpad-registry:
status: In Progress → Fix Committed
j.c.sackett (jcsackett)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.