You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Last name and Middle Name shown together incorrectly #25882
See Teams message (because of PI). The user is seeing that their middle name and last name are concatenated together and shown as 'Last Name' on the Step 1 - Person Completing the Form.
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.
@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.
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.
@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:
@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.
Activity
mbertucci commentedon Feb 11, 2025
application number from jira ticket 85091003855596
mbertucci commentedon Feb 13, 2025
This was fixed with OMID .. this ticket can be closed.
mbertucci commentedon Feb 13, 2025
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.
shaangill025 commentedon Feb 27, 2025
Possible root cause:
The name to display is coming from
sbc-connect-common, onlyuserFullNameis returnable currently. In STRR, we are extracting the first and last name from it. The fix would be to havesbc-connect-commondirectly returnuserFirstNameanduserFirstName, 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
dimak1 commentedon Feb 28, 2025
This is ready in Dev, v1.2.2. Do you want it in Test instead? @ser-popov
ser-popov commentedon Feb 28, 2025
yes, please .. push v.122 to Test @dimak1
dimak1 commentedon Feb 28, 2025
@ser-popov I think we have a hotfix #26244 to push to Test, right @kris-daxiom ?
dimak1 commentedon Feb 28, 2025
@ser-popov Hosts v1.2.2 is in Test.
Michaela-R-Anderson commentedon Mar 4, 2025
@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.
ser-popov commentedon Mar 4, 2025
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.
dimak1 commentedon Mar 4, 2025
@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
Fixed
dimak1 commentedon Mar 4, 2025
@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.
ser-popov commentedon Mar 4, 2025
gotcha .. working as designed now .. host v.122