bcgov / bcgov/entity

Legal API: HTTP 500 when there are no reviews of the requested status

Open
#30,445 0 comments 0 reactions 0 assignees View on GitHub
bug Entities Team Priority3
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

1. login as staff
2. go to staff dashboard
3. scroll down to Continuation Authorization Reviews
4. search for status "Abandoned" (or "Cancelled"), of which there are none
5. observe that table isn't updated
6. observe network error

image.png

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure from the staff dashboard by filtering Continuation Authorization Reviews for an empty status such as “Abandoned” or “Cancelled.” Inspect the resulting network request and the Legal API response, then verify that an empty result updates the table without an HTTP 500 or network error.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, javascript, postgres
Domain
api, backend, databases, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.