Skip to content

Retain the account ID when a user with multiple accounts navigates to or from Namerequest UI #30854

Closed
4 of 4 issues completed

Description

@severinbeauvais

The account id not being retained when the user navigates to/from Namerequest UI. This epic contains some tickets needed to fix this.

This applies to users with multiple accounts.

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added
    Names Team
    Entities Team
    on Sep 24, 2025
  2. 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
  3. OlgaPotiagalova commented on Oct 20, 2025

    @OlgaPotiagalova
    Collaborator

    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.

  4. mstanton1 commented on Oct 20, 2025

    @mstanton1
    Collaborator

    @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?

  5. severinbeauvais commented on Jan 22, 2026

    @severinbeauvais
    CollaboratorAuthor

    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"
    image.png

    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.

  6. mstanton1 commented on Jul 13, 2026

    @mstanton1
    Collaborator

    @davemck513 this is Name Request work. I will remove it from the Entities epic. Please attach to the appropriate Names epic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities TeamName RequestNames Teampriority 3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions