Skip to content

33070 - Fix Certified By Validation for Firms and Coops#4249

Merged
meawong merged 2 commits intobcgov:mainfrom
meawong:33070-Fix-Certified-By-Firm-Validation
Apr 8, 2026
Merged

33070 - Fix Certified By Validation for Firms and Coops#4249
meawong merged 2 commits intobcgov:mainfrom
meawong:33070-Fix-Certified-By-Firm-Validation

Conversation

@meawong
Copy link
Copy Markdown
Collaborator

@meawong meawong commented Apr 7, 2026

Issue #: /bcgov/entity#33070

Description of changes:

  • certifiedBy validation still does not apply for CORPS
  • Only apply certifiedBy validation for COOPS/FIRMS for the following filings:
    • Annual Report
    • Change of Address
    • Change of Directors
    • Change of Registration
    • Correction (Client error only)
    • Dissolution (Voluntary only)
    • Notice of Withdrawal
    • Registration
    • Special Resolution
  • Update/add unit tests

Example failing on dev:
image

Now:
image

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 Apr 7, 2026
Copy link
Copy Markdown
Collaborator

@loneil loneil left a comment

Choose a reason for hiding this comment

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

One minor comment. Minor sonarqube warnings too (could remove returns in tests as it says)

Comment thread legal-api/src/legal_api/services/filings/validations/common_validations.py Outdated
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

@Rajandeep98 Rajandeep98 left a comment

Choose a reason for hiding this comment

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

lgtm

@meawong meawong merged commit f565d4e into bcgov:main Apr 8, 2026
8 checks passed
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.

4 participants