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
Retain the account ID when a user with multiple accounts navigates to or from Namerequest UI #30854
changed the title [-]EPIC: fix account id not retained to/from Namerequest UI[/-][+]Retain the account ID when a user with multiple accounts navigates to or from Namerequest UI[/+]on Sep 25, 2025
Requirement: The system must support multiple accounts per user.
Problem: When a user navigates to or from Name Request application, the associated account ID is not consistently maintained. This leads to various issues, such as user confusion, system errors, and/or NR being incorrectly associated with the wrong account.
Root Cause: Compatibility issues arising from outdated tooling within the NR application.
Solution : Upgrade the NR UI to Vite and Pinia. This upgrade is a prerequisite for applying the required fixes, as it resolves underlying compatibility issues.
@OlgaPotiagalova do we have metrics on how many scenarios exist where there are multiple accounts per user? Are we aware of whether this has generated calls / tickets for the program area?
This works because SbcHeader parses the account id URL parameter and sets the CURRENT_ACCOUNT accordingly.
So, one way to fix this ongoing issue is to update all UIs that navigate to Namerequest UI to add the accountid URL parameters instead of appending the account id.
Activity
[-]EPIC: fix account id not retained to/from Namerequest UI[/-][+]Retain the account ID when a user with multiple accounts navigates to or from Namerequest UI[/+]OlgaPotiagalova commentedon Oct 20, 2025
Summary
Requirement: The system must support multiple accounts per user.
Problem: When a user navigates to or from Name Request application, the associated account ID is not consistently maintained. This leads to various issues, such as user confusion, system errors, and/or NR being incorrectly associated with the wrong account.
Root Cause: Compatibility issues arising from outdated tooling within the NR application.
Solution : Upgrade the NR UI to Vite and Pinia. This upgrade is a prerequisite for applying the required fixes, as it resolves underlying compatibility issues.
mstanton1 commentedon Oct 20, 2025
@OlgaPotiagalova do we have metrics on how many scenarios exist where there are multiple accounts per user? Are we aware of whether this has generated calls / tickets for the program area?
severinbeauvais commentedon Jan 22, 2026
Related ticket: https://app.zenhub.com/workspaces/names-team-board-new-655554cbddd49510027dad2e/issues/gh/bcgov/entity/24739
severinbeauvais commentedon Jan 22, 2026
Analysis
Several UIs navigate to Namerequest UI and append the account id, eg. https://dev.names.bcregistry.gov.bc.ca/668
However, Namerequest is not parsing and setting the specified account properly.
Eg, 668 is not "Severin Dev Account"

But, this works every time: https://dev.names.bcregistry.gov.bc.ca/?accountid=2288
This works because SbcHeader parses the account id URL parameter and sets the CURRENT_ACCOUNT accordingly.
So, one way to fix this ongoing issue is to update all UIs that navigate to Namerequest UI to add the accountid URL parameters instead of appending the account id.
mstanton1 commentedon Jul 13, 2026
@davemck513 this is Name Request work. I will remove it from the Entities epic. Please attach to the appropriate Names epic.