Skip to content

35081 - Update Filer for Review Imported Data Filing - #4869

Open
meawong wants to merge 10 commits into
bcgov:mainfrom
meawong:35081-Filer-Updates-for-Review-Imported-Data
Open

meawong wants to merge 10 commits into
bcgov:mainfrom
meawong:35081-Filer-Updates-for-Review-Imported-Data

Conversation

@meawong

@meawong meawong commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Issue #: /bcgov/entity#35081

Description of changes:

  • Add Business Filer support for processing reviewImportedData filings, including updating registered office and records office addresses and director addresses.
  • Add validation that the registered office and records office mailing addresses have a BC region and Canadian country ( already applies for delivery address)
  • Add ff gate review-imported-data in enable-new-feature
  • Add/update unit tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@meawong meawong self-assigned this Oct 15, 2026
allowed_types=["registeredOffice", "recordsOffice"],
required_types=[],
bc_req=False,
bc_req=True,

@meawong meawong Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating as records/registered offices require a BC address for delivery addresses.

@meawong
meawong requested review from kialj876 and mruff-aeq October 15, 2026 00:58
@meawong
meawong force-pushed the 35081-Filer-Updates-for-Review-Imported-Data branch from a02cae1 to cb78bda Compare October 15, 2026 21:15

@kialj876 kialj876 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but a few comments to confirm below

return None


def validate_office_mailing_addresses(offices: dict, filing_type: str) -> list:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this is this right?
Colin did not require the mailing address to be in BC so this might cause complaints for cases where they had an existing mailing address outside BC and now due to bad data they can't keep that address

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had based this on the incorporation flow, where I had looked into the address validation requirements, but you're right — the other filings don't require the mailing address to be in BC either. I'll revert that check and keep the existing delivery address validation as is.


for index, relationship in enumerate(relationships):
identifier = relationship.get("entity", {}).get("identifier")
if identifier and identifier not in active_party_ids:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this also reject when there's no identifier? I don't think we want to allow new directors here do we?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants