Skip to content

Namerequest UI: fails to create business after returning from login #29122

Open

Description

@severinbeauvais
  1. start not logged in
  2. go to Namerequest UI
  3. create a numbered BC Limited
  4. you are redirected to login
  5. you are redirected back to Namerequest UI
  6. see error (may be intermittent)

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

  1. added
    bug
    Entities Team
    on Jun 20, 2025
  2. ozamani9gh commented on Jul 30, 2025

    @ozamani9gh
    Collaborator

    Name REquest should wait until current_account object is created before continuing.

  3. added
    Names Team
    and removed
    Entities Team
    on Jul 30, 2025
  4. severinbeauvais commented on Jul 30, 2025

    @severinbeauvais
    CollaboratorAuthor

    Please also test this scenario:

    1. create a NR (IA, Reg, Cont In, or Amalg) and get it approved
    2. log out
    3. go to Namerequest UI and retrieve your NR
    4. click action button (eg, Register Now)
    5. log in
    6. do you see error or is draft business created?
  5. ozamani9gh commented on Jul 31, 2025

    @ozamani9gh
    Collaborator

    @Mihai-QuickSilverDev can demo error

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

    Names TeamPriority3bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions