Skip to content

Issue with Additional Address Field when Editing an NR #24605

Closed

Description

@EPortman

There is currently an issue with editing NRs.

When editing an NR, in the applicant details screen, this error sometimes blocks the user from proceeding:
image.png

TypeError: Cannot read properties of null (reading 'length')

The error goes away when a character is entered into the additional address field but this field is supposed to be optional. Furthermore when entering an additional address and saving it it does not appear in the Applicant Details Section after being saved.

It also seems like this does not happen for every type of NR. But I am experiencing it consistently with Amalgamations and Alterations.

Activity

  1. added
    bug
    Names Team
    UI
    on Nov 27, 2024
  2. self-assigned this
    on Dec 11, 2024
  3. EPortman commented on Dec 18, 2024

    @EPortman
    ContributorAuthor

    Test Notes
    For each of these tests, have the devtools open and ensure there are no errors visible in the console.

    • Edit an NR without changing anything (should be able to submit with no issues)
    • Edit an NR and change some of the fields (should be able to submit with no issues, and changes should persist after editing)

    Also, since this code is shared with the applicant info when creating an NR.

    • Can create an NR and get past the applicant info screen with no errors in the console
  4. gunanagar commented on Jan 9, 2025

    @gunanagar
    Collaborator

    NR 6759050 - Created and upated - Address and Optional information. No issue in Console

    Screen Shot 2025-01-09 at 11.53.52 AM.png

    Edit submit

    Screen Shot 2025-01-09 at 12.37.37 PM.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

High PriorityName RequestNames TeamUIbug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions