Describe the bug in current situation
I was doing STRR exploratory testing when I added the address for and added British Columbia for province and was unable to submit the form. upon inspection I found the following in the network tab:
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
anyone who doesn't shorthand the province will be impacted. Important to note that I used auto filled from a saved address so the likelihood of this impacting users is high
Chance of Occurring (high/medium/low/very low)
i would say high.
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:
Describe the bug in current situation I was doing STRR exploratory testing when I added the address for and added British Columbia for province and was unable to submit the form. upon inspection I found the following in the network tab:
{ "details": [ { "context": [], "json_path": "$.registration.primaryContact.mailingAddress.province", "message": "'British Columbia' is too long", "relative_path": [ "registration", "primaryContact", "mailingAddress", "province" ] } ], "message": "Invalid request" }
Link bug to the User Story https://app.zenhub.com/workspaces/strr-65b2a7146835aa0cdf315b79/issues/gh/bcgov/entity/20657
Impact of this bug Describe the impact, i.e. what the impact is, and number of users impacted. anyone who doesn't shorthand the province will be impacted. Important to note that I used auto filled from a saved address so the likelihood of this impacting users is high
Chance of Occurring (high/medium/low/very low)
i would say high.
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce Steps to reproduce the behavior:
Actual/ observed behavior/ results unable to submit and when page is inspected the network tab show
{ "details": [ { "context": [], "json_path": "$.registration.primaryContact.mailingAddress.province", "message": "'British Columbia' is too long", "relative_path": [ "registration", "primaryContact", "mailingAddress", "province" ] } ], "message": "Invalid request" }
Expected behavior User should be able to submit regardless of how they list the province