Page MenuHomePhabricator

When finding the latest application to renew, ignore denied applications
Closed, ResolvedPublic

Description

When a user has had a sent application, but then more recently had an application denied, they will see a server error when attempting to renew. Our logic for finding the latest application (to renew it) includes denied applications, which are not valid for renewal, causing an error. We should filter out denied applications when looking for the correct application.

Event Timeline

AVasanth_WMF moved this task from Incoming tasks to Open tasks on the Library-Card-Platform board.
AVasanth_WMF updated the task description. (Show Details)
AVasanth_WMF updated the task description. (Show Details)

Our logic for getting the latest application should look for the latest Sent application, not just the latest app, when renewing. In this way if a more recent application was declined, we still allow users to submit valid renewal applications.

Samwalton9 renamed this task from Investigate what can be done when users want to apply (or renew?) again when their previous application was declined (`NOT_APPROVED`) to When finding the latest application to renew, ignore denied applications.Jan 6 2020, 9:46 AM
Samwalton9 raised the priority of this task from Medium to High.
Samwalton9 updated the task description. (Show Details)

This is causing a renewal problem for someone.