Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namerequest UI: Editing the Resubmit NR has the first name choice as empty. #18068

Closed
riyazuddinsyed opened this issue Oct 3, 2023 · 4 comments
Assignees
Labels
bug Something isn't working Names Team Name Request Name Examination Team Priority1

Comments

@riyazuddinsyed
Copy link
Collaborator

riyazuddinsyed commented Oct 3, 2023

Describe the bug in current situation
When the user tries to resubmit the expired NR and after sucessful payment when the user hits on EDIT then in the First Name Choice the entry is blank where as it should be pre populated by the submitted name.

Steps to reproduce the behavior:

  1. Go to 'https://dev.names.bcregistry.gov.bc.ca/'
    2.Search for "NR 4260182" which is expired
  2. Now Resubmit the NR
  3. After successful payment click on Edit.
  4. Notice that on the Edit page the First Name Choice is blank

Screenshots/ Visual Reference/ Source
Private Zenhub Image

@riyazuddinsyed riyazuddinsyed added bug Something isn't working ENTITY Business Team labels Oct 3, 2023
@Mihai-QuickSilverDev Mihai-QuickSilverDev changed the title Editing the Resubmit NR has the first anme choice as empty. Editing the Resubmit NR has the first name choice as empty. Oct 5, 2023
@severinbeauvais severinbeauvais changed the title Editing the Resubmit NR has the first name choice as empty. Namerequest UI: Editing the Resubmit NR has the first name choice as empty. Oct 5, 2023
@Mihai-QuickSilverDev Mihai-QuickSilverDev added Names Team Name Request Name Examination Team and removed ENTITY Business Team labels Oct 5, 2023
@Mihai-QuickSilverDev
Copy link
Collaborator

@ozamani9gh FYI.....

@Rajandeep98
Copy link
Collaborator

Reason:
While resubmitting an expired request last word is considered as designation for the name request, for SP, GP there's no designation needed therefore, it removes the last word while getting back for editing, and if its one word name, whole name will be considered as designation and it will come as empty.

@Rajandeep98
Copy link
Collaborator

'names': [{'id': 4269224, 'name': '534534534 SP', 'name_type_cd': 'CO', 'designation': 'SP',

'names': [{'id': 4269156, 'name': 'GOOD NEWS', 'name_type_cd': 'CO', 'designation': 'NEWS', 'choice': 1,

'names': [{'id': 4269155, 'name': 'TBD', 'name_type_cd': 'CO', 'designation': 'TBD'

@oanyahuru
Copy link
Collaborator

I tested with an SP (the last word was not removed) and other entity types. Issue is resolved,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Names Team Name Request Name Examination Team Priority1
Projects
None yet
Development

No branches or pull requests

7 participants