Skip to content

AGM Extension API - AGM Year Before Incorporation Date Is Accepted by API but Blocked by UI #34578

Closed

Description

@gunanagar

Describe the bug in current situation
The AGM Year validation is inconsistent between the UI and API. The UI correctly restricts users from entering an AGM Year that is before the incorporation date, but the API currently accepts the same invalid value.

Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?

Steps to Reproduce

  1. AGM Extension
  2. Enter an AGM Year that is earlier than the incorporation year.
  3. Attempt to submit through the UI.
  4. Observe that the UI validation prevents submission.
  5. Send the same data directly through the API.
  6. Observe that the API accepts the AGM Year without validation error.

Actual Result:
The API accepts an AGM Year that is before the incorporation year.

Expected Result:
The API should reject an AGM Year that is earlier than the incorporation year, consistent with the UI validation.

Screenshot 2026-08-17 at 10.59.07 AM.png

Screenshot 2026-08-17 at 10.57.31 AM.png

Screenshot 2026-08-17 at 11.00.07 AM.png

Activity

  1. added
    bug
    Entities Team
    on Aug 17, 2026
  2. self-assigned this
    on Aug 24, 2026
  3. self-assigned this
    on Aug 26, 2026
  4. gunanagar commented on Aug 26, 2026

    @gunanagar
    CollaboratorAuthor

    Tested this via API - Validation implemented
    Screenshot 2026-08-26 at 2.06.27 PM.png

    Tested this via API - Validation implemented - Successful

    Screenshot 2026-08-26 at 2.08.10 PM.png

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

Metadata

Metadata

Labels

Entities Teambug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions