You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Business Dashboard UI: Firms without addresses failing to load in Prod - Prod impact, priority 1 #26948
In what it's now 30 months old functionality, such a firm's record needs to show the conversion filing, as it can be seen in the background, and not block the screen.
@janisrogers I didn't pass this by you yesterday as it was a hotfix and was actually missing functionality that we previously had (in old Filings UI dashboard), but here's a screenshot, FYI. (I know you have a different design for missing/empty directors.)
Activity
severinbeauvais commentedon Apr 2, 2025
Note that the "Page Not Found" dialog is displayed if any API calls fail, as per UX decision.
It's possible that the new Business Dashboard UI doesn't handle missing business addresses (while the old Filings UI may have).
Mihai-QuickSilverDev commentedon Apr 2, 2025
severinbeauvais commentedon Apr 2, 2025
I'm pretty sure this is a Business Dashboard UI issue, as described above.
I tested this by loading the subject firm using the old Filings UI, which loads correctly:
https://www.business.bcregistry.gov.bc.ca/FM0344790?noRedirect=true
Update: I corrected the business id in the link above
[-]Firms validation breaking in Prod - Prod impact, priority 1[/-][+]Business Dashboard UI: Firms without addresses failing to load in Prod - Prod impact, priority 1[/+]severinbeauvais commentedon Apr 2, 2025
This is the code in Filings UI to handle missing addresses:
https://github.com/bcgov/business-filings-ui/blob/441570487172511ebd2714a29324f5af128960a2/src/App.vue#L529
Here is the equivalent code in Business Dashboard UI, which is missing this special case:
https://github.com/bcgov/business-dashboard-ui/blob/16281faf4ae50d4ced3e30b44e4046dd6c75e6bf/src/stores/business.ts#L122
vikas-gov commentedon Apr 2, 2025
Reviewed with the team , @Mihai-QuickSilverDev confirmed this not critical for Early adopters release and can follow the regular release cycle.
severinbeauvais commentedon Apr 2, 2025
Test Notes
Sample businesses in Dev:
Compare with old Filings UI:
Sample SP in Test with no business addresses:
https://test.business-dashboard.bcregistry.gov.bc.ca/FM1142621?filing_id=520294&accountid=1999
severinbeauvais commentedon Apr 3, 2025
@janisrogers I didn't pass this by you yesterday as it was a hotfix and was actually missing functionality that we previously had (in old Filings UI dashboard), but here's a screenshot, FYI. (I know you have a different design for missing/empty directors.)