bcgov / bcgov/entity

Legal API: error fetching comments when IA isn't completed

Open
#21,858 2 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

After an IA is filed-and-paid, the user is returned to Filings UI and the IA is auto-expanded in the Filing History list (ledger). The expansion also loads any documents and comments.

If the IA is paid but not yet completed, the documents call returns an empty object (which is fine) but the comments call returns an error.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Filing History ledger expansion for an IA that has been filed and paid but is not completed. Trace the documents and comments requests from the Filings UI through the Legal API, then verify that the comments request no longer errors and behaves consistently with the empty documents response.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, javascript
Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.