Skip to content

Coop submission "Invalid Submission" #35342

Closed
Closed

Description

@benjamin-bc-gov

Coop submission "Invalid Submission" — I traced this to a bug in the lear backend, not the UI.
validate_relationship_roles in common_validations.py validates appointment dates for all directors
in the payload against last_cod_date, including existing directors whose historical appointment
dates predate it.

The old directors format skipped non-"appointed" directors; the new relationships
format is missing that exclusion. This means any coop that has had a previous COD on file will fail
when ceasing or editing an existing director. A fix is needed in lear

Activity

  1. added
    Entities Team
    on Oct 22, 2026
  2. self-assigned this
    on Oct 22, 2026
  3. mruff-aeq commented on Oct 22, 2026

    @mruff-aeq
    Collaborator

    no more blockers, please resume UI and other lear PRs @benjamin-bc-gov

  4. self-assigned this
    on Oct 27, 2026
  5. gunanagar commented on Oct 28, 2026

    @gunanagar
    Collaborator

    This means any coop that has had a previous COD on file will fail
    when ceasing or editing an existing director. A fix is needed in lear

    1. Existing coop with previous COD
    2. Cease and Edit the existing director
    3. Submitted
    4. It worked No issues

    Screenshot 2026-10-28 at 11.29.11 AM.png

    Screenshot 2026-10-28 at 11.30.14 AM.png

    Screenshot 2026-10-28 at 11.30.45 AM.png

    Screenshot 2026-10-28 at 11.31.34 AM.png

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

Metadata

Metadata

Labels

Entities Team

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions