Skip to content

Last name and Middle Name shown together incorrectly #25882

Closed

Activity

  1. added
    bug
    Prod
    on Feb 7, 2025
  2. mbertucci commented on Feb 11, 2025

    @mbertucci
    Contributor

    application number from jira ticket 85091003855596

  3. self-assigned this
    on Feb 12, 2025
  4. mbertucci commented on Feb 13, 2025

    @mbertucci
    Contributor

    This was fixed with OMID .. this ticket can be closed.

  5. mbertucci commented on Feb 13, 2025

    @mbertucci
    Contributor

    Keycloak issue

    Currently it divides user full name into chunks based on spaces, the first chunk is set as firstName and rest all other chunks gets concatenated with spaces to form the lastName.

    So any middle name ends up being added to the last name field.

    this is a problem with keycloak and bc services card

    keycloak doesn't have the ability to store the middle name

    For this particular issue Omid's team went in to the back end and removed her middle name from the last name field.

  6. shaangill025 commented on Feb 27, 2025

    @shaangill025
    Collaborator

    Possible root cause:
    The name to display is coming from sbc-connect-common, only userFullName is returnable currently. In STRR, we are extracting the first and last name from it. The fix would be to have sbc-connect-common directly return userFirstName and userFirstName, they are available in there but not being returned currently.
    https://github.com/bcgov/sbc-connect-common/blob/7f1cc0ea4a374310ac558ff435fa6b7ea7bb2f8b/nuxt/layers/core/app/stores/connect-account.ts#L240

  7. dimak1 commented on Feb 28, 2025

    @dimak1
    Collaborator

    This is ready in Dev, v1.2.2. Do you want it in Test instead? @ser-popov

  8. ser-popov commented on Feb 28, 2025

    @ser-popov
    Author

    yes, please .. push v.122 to Test @dimak1

  9. dimak1 commented on Feb 28, 2025

    @dimak1
    Collaborator

    @ser-popov I think we have a hotfix #26244 to push to Test, right @kris-daxiom ?

  10. dimak1 commented on Feb 28, 2025

    @dimak1
    Collaborator

    @ser-popov Hosts v1.2.2 is in Test.

  11. Michaela-R-Anderson commented on Mar 4, 2025

    @Michaela-R-Anderson

    @dimak1 - Will the "middle name fix" resolve existing submissions? Or only new submissions that were created after the fix was in place? OR was it only a display issue and not actually impact anything else.

  12. ser-popov commented on Mar 4, 2025

    @ser-popov
    Author

    did we identify root cause? I heard some discussion yesterday that the UX fix is not going to address the root cause because of keycloak? Is that still the case?

    right now, it automatically combines any middle name with the first name and shows the concatenated string as the 'first name' with the 'middle name' input as empty and uneditable. Not sure if this meets the end users needs.

  13. dimak1 commented on Mar 4, 2025

    @dimak1
    Collaborator

    @ser-popov there is no middle name in keycloak. The root cause was the bug in the UI, where it incorrectly pre-populated double-worded first name into the last name field:

    Bug

    Screenshot 2025-02-27 at 12.46.38.png

    Fixed

    Screenshot 2025-02-27 at 10.59.00.png

  14. dimak1 commented on Mar 4, 2025

    @dimak1
    Collaborator

    @Michaela-R-Anderson the fix is for going forward. So now it should correctly pre-populate first/last names for the Individuals that check the 'I am adding my own information' checkbox.

  15. ser-popov commented on Mar 4, 2025

    @ser-popov
    Author

    gotcha .. working as designed now .. host v.122

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

Metadata

Metadata

Labels

Priority2ProdSTRbughosts

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions