bcgov / bcgov/entity

Filing UI : Court Order – Court Order Number Mandatory Validation Missing - API error # 422

Open
#34,526 0 comments 0 reactions 1 assignee Claimed by @Mihai-QuickSilverDev View on GitHub
bug Entities Team
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

**Describe the bug in current situation**
Court Order Filing – Court Order Number Mandatory Validation Missing - API error # 422

Steps to Reproduce:

1. Start a Court Order filing.
2. Upload a file.
3. Leave Court Order Number empty.
4. Click Submit.

Actual Result:

The UI does not display a mandatory-field validation for Court Order Number.
A browser error popup is displayed: “Could not save your court order. Please try again or cancel.”
API returns 422 – Unprocessable Entity.

Expected Result:

Court Order Number should be mandatory and validated on the UI before submission.
The user should see a clear validation message indicating that Court Order Number is required.
The API should not be called when the mandatory field is empty.

Attached screenshot

Screenshot 2026-08-13 at 12.33.19 AM.png

Screenshot 2026-08-13 at 12.29.29 AM.png

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.