Page MenuHomePhabricator

Server error when updating an Invalid application to another status
Closed, ResolvedPublic

Description

When updating an application's status we do Applications.objects.get to retrieve it (https://github.com/WikipediaLibrary/TWLight/blob/master/TWLight/applications/models.py#L288). If the application has the Invalid status, this will not find the object, resulting in a server error.

We should use even_invalid instead of objects.