Closed cameron-eyds closed 2 years ago
@cameron-freshworks you mentioned the spaces re phone number. What about email and NR#?
@cameron-freshworks you mentioned the spaces re phone number. What about email and NR#?
Those fields do have a level of validations on them and i wasn't seeing any errors associated to them but i can try some more rigorous testing there.
Issue #: /bcgov/entity#9624
Description of changes:
Applicant info 2 & 3 both allowed pre fixed white spaces to the the applicant phone numbers, which would process as is but fail on the GET when returning from pay.
This fix will help users that copy and paste phone numbers with additional spaces, by removing them before applying the phone number.
This is in direct response to this sentry error, which is the result of 3 duplicates on the 14th. I'm sure there was more as a result of this.
https://sentry.io/organizations/registries/issues/2367173892/events/6e0c13c767774873ab6d81b0acd0a741/?project=5433955
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namerequest license (Apache 2.0).