bcgov / bcgov/entity

No error validation message come up either in the FE or on the BE when there are trailing white spaces in the custodian first name or last name.

Open
#30,945 0 comments 0 reactions 0 assignees View on GitHub
bug Entities Team Priority2
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

**Describe the bug in the current situation**
When the API user adds trailing white spaces for the custodians' First name', then the validation doesn't show up from trailing white spaces, and the request is processed.

Steps to reproduce the behavior:
1. File a VD from the BE with trailing spaces in the first name
2. Upon hitting send, the BE doesn't throw any error
3. Now add trailing white spaces from the UI
4. Observe that the UI doesn't throw any validation as well.

**Screenshots/ Visual Reference/ Source**
Screen Shot 2025-10-02 at 12.49.52 PM.png

SS From UI
Screen Shot 2025-10-02 at 12.51.30 PM.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.