Skip to content

Create UI: Error when entering business addresses in firm registrations #31713

Closed

Description

@Mihai-QuickSilverDev

In some cases, the Business Addresses shows that it is invalid, but the data looks good:

image.png

To reproduce:

The exact scenario is unknown at the moment but can be seen here: see Analysis below

  1. login to Test as BCREG0020 or IDIR
  2. go to https://test.create.business.bcregistry.gov.bc.ca/registration-define-business?id=TQjhf02faf
  3. go to Review and Confirm page to enable full validation
  4. go back to Define Your Business page
  5. observe that the Business Addresses display error styling
  6. edit and restore the Street Address or City or Postal Code
  7. observe that the Business Addresses are now "valid"

Note: this error persists after saving and resuming the draft.

Workaround: delete and re-enter the Street Address or City or Postal Code.

Activity

  1. added
    Entities Team
    on Dec 16, 2025
  2. added
    bug
    on Dec 16, 2025
  3. changed the title [-]Error when entering addresses for firms registrations[/-] [+]Create UI: Error when entering business addresses in firm registrations[/+] on Dec 16, 2025
  4. severinbeauvais commented on Dec 16, 2025

    @severinbeauvais
    Collaborator

    Analysis

    This is a validation logic issue. It was caused by the implementation of 31312 -- insufficient testing (by both the developer and QA) was done to catch this issue before it was deployed to Production.

    This is typically seen when resuming a draft with valid addresses and then going to the Review page to enable full validation. Then, the addresses will be (incorrectly) marked as invalid.

    The fix is ... to correct the validation logic.

  5. severinbeauvais commented on Dec 16, 2025

    @severinbeauvais
    Collaborator

    Test Notes

    The fix is in the shared BaseAddress component, which is used throughout Create UI -- multiple filings. (Filings UI and Edit UI import an older version of this component without the bug but also without the latest Postal Code validation.)

    For all the following instances of BaseAddress, after going to the Review page (which enables full validation), please verify:

    1. having a valid address shows no validation error
    2. having an invalid address (eg, missing required fields, invalid entry, etc) shows a validation error
    3. resuming a draft filing with valid saved address shows no validation error
    4. resuming a draft filing with invalid saved address shows a validation error

    Firm Registration

    Eg, https://dev.create.business.bcregistry.gov.bc.ca/incorporation-define-company?id=TMUxcXdG8e

    • Business Addresses
    • Completing Party Mailing Address
    • Proprietor/Partner Addresses
    • Business or Corporation Addresses

    Incorporation Application (corp)

    Eg, https://dev.create.business.bcregistry.gov.bc.ca/incorporation-define-company?id=TGNrb6aPQo

    • Registered and Records Office Addresses
    • Completing Party Mailing Address
    • Incorporator Mailing Addresses
    • Director Addresses

    Incorporation Application (coop)

    Eg, https://dev.create.business.bcregistry.gov.bc.ca/incorporation-define-company?id=TbjXLcwM9U

    • Registered Office Addresses
    • Completing Party Mailing Address
    • Director Addresses

    Amalgamation

    Eg, https://dev.create.business.bcregistry.gov.bc.ca/amalg-reg-information?id=TeGo40PyiH

    • Registered and Records Office Addresses
    • Completing Party Mailing Address
    • Director Addresses

    Continuation In

    Eg, https://dev.create.business.bcregistry.gov.bc.ca/incorporation-define-company?accountid=3040&id=TeZG04lfhP

    • Office Addresses
    • Completing Party Mailing Address
    • Director Addresses

    Dissolution (non firm)

    Eg, https://dev.create.business.bcregistry.gov.bc.ca/dissolution-define-dissolution?businessid=BC0887680&id=BC0887680

    • Custodian of Records Addresses (isn't restored by design but please verify validation anyway)

    Firm Dissolution

    Eg, https://dev.create.business.bcregistry.gov.bc.ca/incorporation-define-company?businessid=FM1111770&id=FM1111770

    • Completing Party Mailing Address

    Restoration

    Eg, https://dev.create.business.bcregistry.gov.bc.ca/restoration-business-name?accountid=3040&businessid=BC0887769&id=BC0887769

    • Applicant Information Mailing Address
    • Registered and Records Office Addresses (these are pre-populated every time but please verify validation anyway)
  6. riyazuddinsyed commented on Dec 18, 2025

    @riyazuddinsyed
    Contributor

    Verified in test.Working as expected.

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

Metadata

Metadata

Labels

Entities TeamPriority1bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions