bcgov / entity

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

Name is blank for some result of "Search Cooperatives" in staff dashboard. #6850

Open mengdong19 opened 3 years ago

mengdong19 commented 3 years ago

Describe the bug in current situation Please reference to ticket: https://github.com/bcgov/entity/issues/6806 As a staff user, when I search some Incorporation Number, the name of the result is blank. This mostly happens to entities that has not been affiliated. Currently search result data was pulled from auth db. Entity name is updated when the entity get affiliated, so those entities who never has been affiliated will have null value for name.

Link bug to the User Story

Impact of this bug Staff got confused about the search result.

Chance of Occurring (high/medium/low/very low) medium

Pre Conditions: which Env, any pre-requesites or assumptions to execute steps? In production site.

Steps to Reproduce Steps to reproduce the behavior:

  1. Login as staff
  2. In "Search Cooperatives" section, input "CP0002276" or "CP0002379" and click search.
  3. See the search result, name is blank

Actual/ observed behavior/ results Name is blank

Expected behavior Name should be displayed, and it should be the same as what it is in entity database, which is the same as the name in entity dashboard.

Screenshots/ Visual Reference/ Source Search result in dashboard. image.png

Name should be as in the entity dashboard: image.png

mstanton1 commented 3 years ago

Result above is from our entity table. If the entity has not been affiliated to an account the name will be empty.

Could check if the name is available and save it in the entity table or could do a data fix (provided we are certain we are getting the most current name).

rarya-freshworks commented 3 years ago

@sumesh-aot @thorwolpert need your insight on weather auth will store entity information still or there is another plan to redesign?

sumesh-aot commented 3 years ago

We could legal-api and show the up-to-date name on that field, I think the estimate is for that solution.

mengdong19 commented 1 year ago

FYI, a new ops ticket about this issue: https://github.com/bcgov-registries/ops-support/issues/1914

PatrickAHeath commented 1 year ago

@JohnamLane @jennyschan @zac-broitman Will this impact other entity types as they're implemented as well? Should this be completed before CORPS are implemented?