Skip to content

Business Filer - use common lear packages #33534

Closed

Description

@kialj876

The filer has duplicates of code available in the lear common packages. This ticket is to update the common code as needed and update the filer to use it instead of its own duplicated copy (i.e. AccountService, LegislationDatetime, BaseEnum, Flags, InvoluntaryDissolution, etc.)

Activity

  1. added
    Entities Team
    on May 25, 2026
  2. benjamin-bc-gov commented on Sep 9, 2026

    @benjamin-bc-gov
    Collaborator

    `
    #: 1
    Module: FilingTypes
    Problem: Filer has CHANGEOFLIQUIDATORS, CHANGEOFRECEIVERS not in business_model. business_model has
    APPOINTRECEIVER, CEASERECEIVER, INTENTTOLIQUIDATE, CHANGEOFOFFICERS not in filer
    What we need to do: Decide which entries are correct/current, add missing ones to business_model, align both
    enums, then swap
    ────────────────────────────────────────
    #: 2
    Module: InvoluntaryDissolutionService
    Problem: Common package has flags param on all methods, uses get_request_context(), references
    CoreFiling.FilingTypes, has _has_delay_of_dissolution_filing() stub, and a bug fix on effective_date fallback.

    Filer version has none of this                                                                             
    

    What we need to do: Decide whether to adopt the common package's flags/get_request_context() approach, confirm
    the effective_date bug fix is safe to port, then reconcile and swap
    ────────────────────────────────────────
    #: 3
    Module: DissolutionTypes
    Problem: No common equivalent exists anywhere
    What we need to do: Decide where it should live (business_model? business-registry-common?), create it there,
    then swap

    `

  3. benjamin-bc-gov commented on Sep 9, 2026

    @benjamin-bc-gov
    Collaborator
  4. benjamin-bc-gov commented on Sep 10, 2026

    @benjamin-bc-gov
    Collaborator

    for point 1 , I created the mising finnings in commons . point 2 . I used the logic from common. point 3 I created the missing types in common.

  5. benjamin-bc-gov commented on Sep 11, 2026

    @benjamin-bc-gov
    Collaborator

    this is a tech debt , do regression business filling

  6. self-assigned this
    on Sep 17, 2026
  7. gunanagar commented on Sep 18, 2026

    @gunanagar
    Collaborator

    Did regression testing and looks good

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

Metadata

Metadata

Labels

Entities Teamtechdebt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions