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.
Description
Description
Related Objects
Related Objects
Event Timeline
Comment Actions
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.