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
Namerequest UI: fails to create business after returning from login #29122
Expectation: Namerequest UI creates a draft and redirects you to Filings UI.
Analysis:
I observed that the account id in this flow is 0. (It should have been 668 or another number.)
I believe the reason for this is that is take a few hundred milliseconds, at least, for the current account data to get synced (to session storage). We get around this in other UIs by having a wait loop until the account data is populated.
Activity
severinbeauvais commentedon Jun 27, 2025
Sample code: https://github.com/bcgov/business-create-ui/blob/771a8ae3e1cf2991c07bae85678b7f0c4b68e3c7/src/App.vue#L1218
ozamani9gh commentedon Jul 30, 2025
Name REquest should wait until current_account object is created before continuing.
severinbeauvais commentedon Jul 30, 2025
Please also test this scenario:
ozamani9gh commentedon Jul 31, 2025
@Mihai-QuickSilverDev can demo error