Skip to content

Legal API: Add maxDate Validation for effectiveDate/dissolutionDate #30391

Closed

Description

@meawong

The FE only allows the max date that is selected to be 10 days in the future whereas the BE has no limits. We want to align the BE with the FE and enforce the same max date rules.

Affected filings:

  • Incorporation Application (already implemented for IA)

  • Amalgamation Application

  • Alteration

  • Cont. in

  • Voluntary Dissolution

See Detailed Spreadsheet: https://docs.google.com/spreadsheets/d/1N5zs291nvPpHbGCxJS9jmxX3yoUyG_mi-906j-_TuHo/edit?gid=634482517#gid=634482517

Activity

  1. added
    Entities Team
    on Aug 26, 2025
  2. added theissue type on Aug 26, 2025
  3. changed the title [-]Legal API: Add Missing Validation for Required Fields[/-] [+]Legal API: Align Validation for effectiveDate/dissolutionDate[/+] on Aug 26, 2025
  4. changed the title [-]Legal API: Align Validation for effectiveDate/dissolutionDate[/-] [+]Legal API: Add maxDate Validation for effectiveDate/dissolutionDate[/+] on Aug 27, 2025
  5. self-assigned this
    on Aug 27, 2025
  6. riyazuddinsyed commented on Sep 4, 2025

    @riyazuddinsyed
    Contributor

    This has been tested with VD filing on the company BC1200127, where I was able to file the VD after 10 days, from the BE, which the UI doesn't allow.Moving it to back in progress untill this scenario is fixed
    Screen Shot 2025-09-04 at 2.53.23 PM.png

  7. riyazuddinsyed commented on Sep 8, 2025

    @riyazuddinsyed
    Contributor

    Validated in test after reviewing with Megan working as expected.

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

Metadata

Metadata

Assignees

Labels

Entities Team

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions