bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 59 forks source link

Last name shows as null when the field is empty in submission details. #6688

Open riyazuddinsyed opened 3 years ago

riyazuddinsyed commented 3 years ago

Describe the bug in current situation When a user is filing an NR for his client and then upon entering no Last Name in the submission details then the front end doesn't throw any validation but the "Confirm Name Request" screen shows as null

Impact of this bug Users filing NR on behalf of clients

Steps to reproduce the behavior:

  1. Go to 'https://test.bcregistry.ca/namerequest'
  2. Click on the check box of the submission details. 3.Go to the Applicants info page and leave the Last Name empty and hit Review
  3. See error

Screenshots/ Visual Reference/ Source Screen Shot 2021-03-04 at 9.25.34 AM.png

jdyck-fw commented 3 years ago

Estimated based on the solution being to keep 'Client Name' and display something else if client first name / client last name is empty. These name fields are not required.

Send this to Scott / Tracy for wording before we pick this up.