Closed K8Sewell closed 5 months ago
Strange! I am able to see this and so were our testers today.
The error:
Because the page loads for some people and not others, I think it might be erroring out on particular objects
PR: https://github.com/yalelibrary/yul-dc-management/pull/1393
This was an issue whenever a user had a request in an "Approved" state but no Access Until date. Blacklight didnt know what to do with the nil access_until date. I created this PR that adds a validation for permission requests. A request can no longer be saved successfully if a request has "Approve" selected, but no access date selected. The access date field will now be highlighted red if nothing is selected:
I also went into demo and added an access date to about 6 approved records that didn't have a date filled out. So that page should be fixed for everyone that was seeing the error :)
I can see the page now! :)
Summary
Currently the route
/permission_requests
errors out with the generic rails error page.Acceptance Criteria
/permission_requests
loads correctlyScreenshot