Skip to content

BRD: Able to affiliate same NR to two different logins using Magic link. #25282

Closed

Description

@riyazuddinsyed

Describe the bug in the current situation
If the user has two different logins and clicks on the magic link then the NR gets affiliated to the account and when the user has started to Register and leaves it as a draft..
Now if the user clicks on the magic link and this time logs in with a different account the NR gets affiliated to the other Login and now the user has two drafts with the same NR.

Steps to reproduce the behavior:

  1. Go to 'https://dev.names.bcregistry.gov.bc.ca/'
  2. Create an NR without logging in.
  3. Now log in with an account and the NR Auto affiliates and the user has created a draft.
  4. Now log in with a different account and see that NR Auto Affiliates to the other account.

Screenshots/ Visual Reference/ Source
Screen Shot 2025-01-14 at 3.19.25 PM.png

Now notice the same NR affiliated to a different login
Screen Shot 2025-01-14 at 3.20.23 PM.png

Activity

  1. added
    bug
    Entities Team
    on Jan 14, 2025
  2. vikas-gov commented on Jan 14, 2025

    @vikas-gov
    Collaborator

    Known issue, we currently don't have a solution for the scenario.
    Needs further review. Post directed launch.

  3. Mihai-QuickSilverDev commented on Jan 15, 2025

    @Mihai-QuickSilverDev
    Collaborator

    Updates - in Dev:

    • I have affiliated NR 1040195 to BCREG0020
    • Then I have affiliated NR 1040195 to BCREG0021
    • Then I started the draft in BCREG0021, I have added a translated name and saved the draft
    • Then I returned to BCREG0020 and attempted to continue the draft
    • The error below pops-up
    • The system prevents two different accounts to work on the same draft
    • If we are okay with the error, as it pops-up now, then no further work would be required for this ticket
    • An improvement would be to display a more clear error message, like: "This draft is worked on in a different account", etc. Cost - TBD.

    image.png

  4. changed the title [-]Able to affiliate same NR to two different logins using Magic link.[/-] [+]SBC Auth: Able to affiliate same NR to two different logins using Magic link.[/+] on Jan 16, 2025
  5. severinbeauvais commented on Jan 16, 2025

    @severinbeauvais
    Collaborator

    This is an existing scenario. Note that the NR cannot be consumed twice, so the first incorporation to be filed will use it and the second incorporation will fail to file.

    In order for the BRD (or magic link) to know that the NR is already being used for a draft, we'd have to keep track of that (and reset it if the draft is deleted). We could introduce a new NR state ("in use"), or we could keep track of it in Auth db or in Legal db. Either way, this is a medium-to-large effort.

  6. changed the title [-]SBC Auth: Able to affiliate same NR to two different logins using Magic link.[/-] [+]BRD: Able to affiliate same NR to two different logins using Magic link.[/+] on Feb 3, 2025
  7. added
    duplicate
    on Mar 17, 2025
  8. severinbeauvais commented on Mar 17, 2025

    @severinbeauvais
    Collaborator

    First of all, it's legitimate to affiliate a NR to multiple accounts.

    This is a duplicate of the known issue where a NR can be used to start a draft more than once (but only the first filing to be filed will be able to use it; any others will fail).

  9. severinbeauvais commented on Nov 4, 2025

    @severinbeauvais
    Collaborator

    As mentioned above, this is a known scenario...

    I have changed this issue to be a sub-issue of #29808. I think we can close THIS ticket and just refer to it while testing its parent.

  10. severinbeauvais commented on Dec 19, 2025

    @severinbeauvais
    Collaborator

    This was moved to Icebox as there are changes afoot in the affiliations APIs. This issue doesn't lead to corrupt data. We can look at this again later.

  11. mstanton1 commented on Feb 5, 2026

    @mstanton1
    Collaborator

    Closing as per comments in the story this is part of. This will not be part of MVP / can be revisited if it is found to be an issue later.

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 TeamPriority3bugduplicate

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions