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
Common address validation: UI/API Street Address streetAddressAdditional Max Length mismatch #33417
As a API consumer I want to be restricted to the same validations as UI users, so I can't put data into the registry that BC Registries is not expecting (or other way around).
changed the title [-]Continuation In: API Street Address streetAddressAdditional Max Length mismatch[/-][+]Continuation In Step 2: API Street Address streetAddressAdditional Max Length mismatch[/+]on May 13, 2026
@mstanton1@vikas-gov Are we sure we want to reduce the max length on the api side? 50 chars is not very long and we have 547 addresses currently that contain a longer 'streetAddressAdditional' so this could break them for subsequent filings that pull and submit address information.
Can we increase the character limit on the UI validation for this field to match the API instead?
@kialj876 thanks for pulling that metric. With the 547 addresses containing a longer 'streetAddressAdditional' is there a way to pull what those addresses are. I'd like to review to determine if they are valid and worth accommodating in the UI, or perhaps bad data that we are okay to hinder entry of.
@mstanton1@vikas-gov Are we sure we want to reduce the max length on the api side? 50 chars is not very long and we have 547 addresses currently that contain a longer 'streetAddressAdditional' so this could break them for subsequent filings that pull and submit address information.
Can we increase the character limit on the UI validation for this field to match the API instead?
Oh yeah I'd assumed we'd widen the UI for this case (bad wording in title/description) but can investigate when looking at the ticket. As well it's affecting more than Continuation In, so adjusting title.
changed the title [-]Continuation In Step 2: API Street Address streetAddressAdditional Max Length mismatch[/-][+]Common address validation: UI/API Street Address streetAddressAdditional Max Length mismatch[/+]on May 14, 2026
Activity
[-]Continuation In: API Street Address streetAddressAdditional Max Length mismatch[/-][+]Continuation In Step 2: API Street Address streetAddressAdditional Max Length mismatch[/+]loneil commentedon May 13, 2026
I think this is broader than just this filing or incorp application. Can investigate as part of this ticket
kialj876 commentedon May 14, 2026
@mstanton1 @vikas-gov Are we sure we want to reduce the max length on the api side? 50 chars is not very long and we have 547 addresses currently that contain a longer 'streetAddressAdditional' so this could break them for subsequent filings that pull and submit address information.
Can we increase the character limit on the UI validation for this field to match the API instead?
mstanton1 commentedon May 14, 2026
@kialj876 thanks for pulling that metric. With the 547 addresses containing a longer 'streetAddressAdditional' is there a way to pull what those addresses are. I'd like to review to determine if they are valid and worth accommodating in the UI, or perhaps bad data that we are okay to hinder entry of.
kialj876 commentedon May 14, 2026
yeah sure thing - I'll message you directly
loneil commentedon May 14, 2026
Oh yeah I'd assumed we'd widen the UI for this case (bad wording in title/description) but can investigate when looking at the ticket. As well it's affecting more than Continuation In, so adjusting title.
[-]Continuation In Step 2: API Street Address streetAddressAdditional Max Length mismatch[/-][+]Common address validation: UI/API Street Address streetAddressAdditional Max Length mismatch[/+]mstanton1 commentedon May 14, 2026
Based upon discussion with Kial and his review of past changes, there was an intentional change to increase size on the back-end to support data migration (#28475). This ticket will switch to update the UI instead. I will close the previous ticket to update the UI which was never tackled (https://app.zenhub.com/workspaces/entities---data-migration-65af11a89e89f5043c2911f6/issues/gh/bcgov/entity/29045).
kialj876 commentedon May 20, 2026
In Test
gunanagar commentedon May 25, 2026
Tested in both UI and API - streetAddressAdditional Max Length - Create UI - aligned as per requirements.