bcgov / bcgov/entity

Verify - Director Change Failed for accounts - Update Schema Validation

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

Description

**Solution**
- update schema to remove leading and trailing whitespace validations from schema for all string fields

**Describe the bug in current situation**
A clear and concise description of what the bug is.

**Steps to Reproduce**
Steps to reproduce the behavior:

While testing # Ticket Update Schema Validation to let Company AR get through#34201

BC1271482
BC0920122
BC1212284

1. Go to https://test.business-dashboard.bcregistry.gov.bc.ca/BC1271482?accountid=1999
2. Change of Director
3. Add Director
4. Submit

**Actual/ observed behavior/ results**

Should be Sucessful

**Expected behavior**
Error as below

**Screenshots/ Visual Reference/ Source**
Screenshot 2026-07-16 at 11.18.58 AM.png

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the schema validation used by the Change of Director flow and identify the leading and trailing whitespace rules for string fields. Reproduce the flow at the provided test URL with BC1271482, BC0920122, or BC1212284, then verify that submitting the director change succeeds without the reported validation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.