Skip to content

BAR Migration : Username Anomalies #32554

Open

Description

@vikas-gov

About 9/10 account names have the number "10" added to the end of their usernames (e.g., "MAN LIU10").
There appears there was a bug in place when the accounts were created.
We could automatically clean the account names.
Or users themselves could change the account names.

Example
Business Number: 713061414BC0001
Incorporation Number: BC1451302

Origin : Teams Thread

Activity

  1. added
    Entities - Data Migration
    on Feb 23, 2026
  2. added
    Entities Team
    bug
    on Feb 23, 2026
  3. added
    Pay
    and removed
    Entities - Data Migration
    on Jun 4, 2026
  4. mstanton1 commented on Jun 4, 2026

    @mstanton1
    Collaborator

    @JohnamLane can you team review to determine any additional action needed in Auth?

  5. JohnamLane commented on Jun 4, 2026

    @JohnamLane
    Collaborator

    When the BAR or simplified account creation flow is used, the account name is created behind the scenes. This is the bit that Mikaela made. @ochiu are you able to take a brief look and point to where this account name logic lives?

  6. JohnamLane commented on Jun 4, 2026

    @JohnamLane
    Collaborator

    Also, fun wrinkle - multiple accounts with the same name
    image.png

  7. ochiu commented on Jun 4, 2026

    @ochiu
    Collaborator

    I took a look, auth-api should be just creating what is provided in the request payload. Doesn't appear to be any logic that would concatenate additional numbering.

    Also, there do seem to be additional duplicate account names following the same pattern and looking at the creation timestamp they were created in quick succession (sub seconds apart). It is likely the requests were doubled up and the second one came in before the first request was even finished.

  8. mstanton1 commented on Jun 4, 2026

    @mstanton1
    Collaborator

    @ochiu we had closed a related ticket identifying multiple accounts with the information suggesting the accounts were spread out (i.e. client forgot they had an account and used BAR year two creating a new account). If there are a number of accounts that are within quick succession (sub seconds) it sounds like that should be looked at also. Do you want me to re-open that other ticket? I imagine @JohnamLane might want to bring a BA in to help with assessment and understand if there is an action we can actually take to clean up duplicate accounts, or whether there is no risk in leaving them.

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

    Client/Staff FeedbackEntities TeamPaybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions