Skip to content

Namerequest UI / Namex API: continuation in NR contains wrong entity type code #25937

Closed

Description

@severinbeauvais

If I create a continuation in NR, the "PUT namerequest" network call contains an entity type code of "CR" (corporation) instead of the expected "C" (continued in BC Limited company). Example:

image.png

This NR creation needs to work in coordination with Namex API. It may be that "CR" is correct at this stage and then Namex API need to set the legalType to "C". However, Namex is failing to se the legalType property. Example:

image.png

In the above NR object, there should be a legalType property, and it should be set to "C".

The end result is that a continuation in NR cannot be used to create a continuation in filing in LEAR. (Unknown if this works in COLIN.)

cc: @ozamani9gh @OlgaPotiagalova - for your prioritization

Activity

  1. added
    bug
    Entities Team
    Names Team
    NameX
    on Feb 11, 2025
  2. severinbeauvais commented on Feb 11, 2025

    @severinbeauvais
    CollaboratorAuthor

    See also #25939.

  3. severinbeauvais commented on Feb 13, 2025

    @severinbeauvais
    CollaboratorAuthor

    Please let @jacqueline-williams-549 know when this ticket is resolved.

  4. severinbeauvais commented on Feb 13, 2025

    @severinbeauvais
    CollaboratorAuthor

    @ozamani9gh @EPortman , this ticket (and 25939) are blocking continuation in filings. Can you prioritize this, please?

  5. severinbeauvais commented on Feb 13, 2025

    @severinbeauvais
    CollaboratorAuthor

    I think I found the root cause.

    It's related to the raw_nr_to_action_mapping structure in Namex API. This table maps a NR type to a Legal Type and other info using "get_actions()". However, it is not finding the correct entry for a continuation in NR, because the entity_type_cd is incorrect. And so, no legalType property is returned, and both Namerequest UI and BRD UI cannot create a draft filing using the NR.

    In the Namex db, the code was "CR". I changed it to "C":

    image.png

    With the data fixed, this NR was tested again and can successfully create a draft continuation in filing (in LEAR) from Namerequest UI and the BRD UI.

    Now some investigation needs to be done to determined why the entity_type_cd is incorrect for a continuation in NR.

  6. severinbeauvais commented on Feb 13, 2025

    @severinbeauvais
    CollaboratorAuthor

    One potential solution is to update Namerequest UI to provide the right Entity Type Code in the first place (ie, C instead of CR, and the other entity types).

    Another potential solution is to update Namex API to map request_type_cd="CT" and entity_type_cd="CR" to legalType="C" (and the other entity types).

  7. severinbeauvais commented on Feb 14, 2025

    @severinbeauvais
    CollaboratorAuthor

    Here's the initial payload when creating a NEW NR:

    image.png

    Here's the initial payload when creating a MVE NR:

    image.png

    Notice that the entity_type_cd is "CR" in both cases. This affects the actions lookup (in name_request_filing_actions.py).

  8. severinbeauvais commented on Feb 19, 2025

    @severinbeauvais
    CollaboratorAuthor

    Test Notes

    1. create Continuation In NRs for continued in BC Limited / Benefit Company / CCC / ULC
    2. use those NRs to incorporate a new continued in business or change name, etc for an existing continued in business

    Note: Change of Name / Restoration / Alteration NRs for continued in BC Limited / Benefit Company / CCC / ULC should continue to work correctly.

  9. severinbeauvais commented on Feb 20, 2025

    @severinbeauvais
    CollaboratorAuthor

    I verified this in Dev by creating a CHG NR for a continued in Benefit Company and confirming that the legalType = CBEN.

    I also created a MVE NR for a continued in BC Limited Company and confirmed that the legalType = C.

    image.png

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

Metadata

Metadata

Labels

Entities TeamName RequestNameXNames Teambug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions