Closed eve-git closed 1 year ago
It may need to consider UI changes. Currently, there is no a DB field to hold the corp name in home jurisdiction.
I took a look at this and noticed that if I dont check the "I don't have a corporate number", the corporation number field remains a numeric field. Otherwise, the field reads "Business's full legal name in home jurisdiction" and allows alphanumeric characters. The option to "submit without checking" does not exist on the test. The error popped up at the point of submission. See below
@pwei1018 we need to determine next steps.
@lmcclung please give us direction on how you would like the UI/UX to handle extra provincial CORP NUMS and NAMES
Here is the PROD Data for CORP NAMES that start with Character: select * from requests where home_juris_num is not null and home_juris_num > 'A'
and
select * from requests where home_juris_num is not null and home_juris_num LIKE '% %'
includes spaces
has a space in the name https://app.zenhub.com/files/157936592/72f07125-814a-4299-878d-ebb2afd98307/download
starts with alphanumeric character may not contain space https://app.zenhub.com/files/157936592/6e651923-8eee-4e58-a556-8e8c248ab086/download
@davemck513 do you have time to discuss how you want to handle this issue
@ozamani9gh cannot reproduce this in test with the new changes to the UI. Please advise if I'm missing something.
@davemck513 @ozamani9gh confirmed by patrick, rather than proceeding with a UI change, we should change the database column size and maybe backend model for a reliable solution. I can start working on this ticket once i finish up a couple of modernization tasks.
@Madhavkapoor28 confirm with Patrick we want this fix to go into Repo and if so, perhaps we can work on it next week, this will give you backend development experience as well
Error occurred when submitting a NR for extra-provincial corp with long corp name.
Steps to reproduce the error: login a Visual Service Card Request a name: a. filling the request form: Extraprovincial, Limited Company, Alberta b. don't check "I don't have a corporate number" c. enter a extra-provincial corp name, whose length is over 50 characters, in corporation number field d. click the link "Submit this Name without checking" under "Check this Name" button e. In the "Corporate Number Not found" window, input the corp name and click "Search" button" f. continue the NR Error occurred when client Review and Confirm button and "Name Request encountered an error" popup shows.
The error message in Dev Tools: