Skip to content

Create UI - fix validation of mailing address Province for Firms Registrations  #29476

Closed

Description

@Mihai-QuickSilverDev

This ticket originally contained 2 requests, which I have separated. The other ticket is #30393. -- SB


Mihai just created a very broken record in Test, FM1142681, and the system was just okay with it.

To Reproduce:

  1. start a firm registration
  2. manually enter the mailing address, skipping over the Province field
  3. enter everything else
  4. submit the registration

To Do:

  • Add mandatory province validation to firm registration.
    • Validation Level 1: cannot be empty
    • Validation Level 2: needs to pass more complex validation (list of Canadian provinces)

Original Request:

Another feature that would save a lot of time is we get at least 35-40 tickets a month for “Province code must be entered” error from the CRA as we let people not enter in a province code (in the mailing address) when creating a firm, it always fails due to that and I don’t see why there is any reason that is not a required field to enter for sole proprietorships.

For example if you look at FM1079019 in the Admin Dashboard in the first submit they did for the business it let them submit the mailing Address with no province selected:

image.png

Which created a ticket, ITops just manually adds the XML for a province and resubmits to resolve, easy ticket to do but 40 of them a month adds up in time takin away from working on, quick math says its about 40 hours a year for our team to fix these.

I don’t have access to Zenhub anymore so I’m not able to check to see if any of those above validation features are already on the docket, let me know if any of these two would be good ideas to create a feature request for.

Regards,
Tyson Graham

Activity

  1. added
    Entities Team
    bug
    on Jul 10, 2025
  2. severinbeauvais commented on Aug 26, 2025

    @severinbeauvais
    Collaborator

    In fact, FM1079019 is still missing the province in its Mailing Address. I'm not sure if this should be a correction filing or just a db update.

    image.png

  3. severinbeauvais commented on Aug 26, 2025

    @severinbeauvais
    Collaborator

    deleted obsolete comment

  4. severinbeauvais commented on Aug 26, 2025

    @severinbeauvais
    Collaborator

    moved comment to other ticket

  5. TGrahamBC commented on Aug 26, 2025

    @TGrahamBC
    Collaborator

    Hey @severinbeauvais

    At least to the CRA they have a full and correct address after I edited the XML and resent the application. BNI also has the correct address, so it's just BCROS that is lacking that data.

    CRA:

    Image

    BNI:

    Image

    This is a good catch about the missing province code on the BCROS side, as it means that the hundreds of firms ITops has corrected and resent to the CRA is missing this info on the BCROS side. (not that its dire, but still should be addressed somehow)

    if you want I can find you a fresh example, not sure if that would help you at all.

  6. changed the title [-]Review validation of Postal Code and Province values for Firms Registrations [/-] [+]Review validation of Postal Code values for Firms Registrations [/+] on Aug 26, 2025
  7. changed the title [-]Review validation of Postal Code values for Firms Registrations [/-] [+]Review validation of Province for Firms Registrations [/+] on Aug 26, 2025
  8. severinbeauvais commented on Aug 26, 2025

    @severinbeauvais
    Collaborator

    Thanks, Tyson.

    Another example is not needed.

  9. TGrahamBC commented on Aug 26, 2025

    @TGrahamBC
    Collaborator

    The only info I know on that is the has the province code, but the does not

    Here is how it looks in the XML before we fix it:

    Image
  10. severinbeauvais commented on Aug 26, 2025

    @severinbeauvais
    Collaborator

    Current status: I don't know what broke so I don't know what we'd fix. I'll keep digging. I'll leave this ticket in Product Backlog for now.

  11. changed the title [-]Review validation of Province for Firms Registrations [/-] [+]Create UI - fix validation of mailing address Province for Firms Registrations [/+] on Aug 27, 2025
  12. severinbeauvais commented on Aug 27, 2025

    @severinbeauvais
    Collaborator

    The validation on Province for the mailing address is missing or not working.

    This filing uses the BaseAddress shared component, which uses a schema for validation. It's possible the schema just needs to be updated, or perhaps the BaseAddress component needs to be updated. I leave this investigation to whomever implements this ticket.

    Sample draft registration that you can use for testing:
    https://dev.create.business.bcregistry.gov.bc.ca/registration-define-business?accountid=3040&id=T2P2alDWfY

  13. self-assigned this
    on Sep 11, 2025
  14. vishnup0422 commented on Sep 12, 2025

    @vishnup0422
    Collaborator

    QA Validation : On Test env

    As expected could not file the business without province

    image.png

    https://test.business-dashboard.bcregistry.gov.bc.ca/FM1142694?filing_id=549396&accountid=1999

  15. TGrahamBC commented on Nov 27, 2025

    @TGrahamBC
    Collaborator

    Hey Team, has this been put in prod?

    If not, please let us know a rough time when we can expect this fix to be placed in production.

  16. severinbeauvais commented on Nov 27, 2025

    @severinbeauvais
    Collaborator

    Yes! This ticket is in Production.

    You can check the Release Report - Entities Release 27.3 - or verify that the ticket is now Closed (not Done or Ready to Release or any prior pipeline).

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

Metadata

Metadata

Labels

Entities TeamPriority2bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions