Skip to content

Business Dashboard UI: When trying to load a businesses dashboard for CCC company then the legal API throws an error. #26872

Closed

Description

@riyazuddinsyed

Describe the bug in the current situation
When a user clicks on a CCC company for the early adaptors, then the business dashboard shows an error saying Businesses not found

Steps to reproduce the behavior:

  1. Go to 'https://test.bcregistry.gov.bc.ca/'
  2. Login with BCREG0029
  3. Navigate to Earlly Adopter's look-alike account
  4. Try to open any affiliated CCC company. e.g. BC1091995
  5. See an error

https://test.business-dashboard.bcregistry.gov.bc.ca/BC1091995/?accountid=1999

Screenshots/ Visual Reference/ Source
Screen Shot 2025-03-28 at 9.46.55 AM.png

Activity

  1. added
    bug
    Entities Team
    on Mar 28, 2025
  2. vikas-gov commented on Mar 28, 2025

    @vikas-gov
    Collaborator

    [03/28] As per discussion, there might be scenarios where the companies have missing address details. Need to reviewed post early adopters on high priority.
    potential option: prompt user to update.

  3. severinbeauvais commented on Mar 31, 2025

    @severinbeauvais
    Collaborator

    Note that the "Page not found" modal is shown when any network calls (to APIs) fail (unless a more appropriate modal is shown).

    In the screenshot above, the errors indicate that the business addresses were not found. As per Vikas' comment, this may be a data issue.

    @argush3 , is there another ticket looking into this? If so then THIS ticket can be retested and/or closed.

  4. argush3 commented on Mar 31, 2025

    @argush3
    Contributor

    @severinbeauvais no we don't have another ticket. The loading issue is because there is no office data for this migrated corp from CTST I'm guessing.

    This is something that the FE will need to be able to handle but not for the current set of early adopter corps as they all have office data.

    image.png

    image.png

  5. severinbeauvais commented on Mar 31, 2025

    @severinbeauvais
    Collaborator

    OK, not for early adopters.

    How do you think we should handle this? I assume we will need to tell users that they need to update their address. With a new to-do task? With an alert (similar to NIGS)? There may be several filings that need to handle this.

    cc: @OlgaPotiagalova

  6. argush3 commented on Mar 31, 2025

    @argush3
    Contributor

    Not sure.

    We have the conversion to do item for firms to deal with missing data.

    Is it feasible to do something similar for corps?

  7. severinbeauvais commented on Mar 31, 2025

    @severinbeauvais
    Collaborator

    @Mihai-QuickSilverDev @dylan644

    Do we have something like a "conversion filing" for corps, to add in missing data?

    We can't use an alteration as it doesn't support address changes. We could use a correction, if that makes sense...?

    We might want to consider the same functionality as an incomplete firm record: block all other filings until the conversion/whatever is completed.

    Thoughts?

  8. severinbeauvais commented on Mar 31, 2025

    @severinbeauvais
    Collaborator

    There's also the COA filing we could use :)

  9. argush3 commented on Mar 31, 2025

    @argush3
    Contributor

    Also, a reminder that the conversion filing is something only staff can do. Volume wise it could be a lot for staff to handle...not sure how many active corps have required missing data.

  10. Mihai-QuickSilverDev commented on Mar 31, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • I have raised this issue way before the data migration started.
    • We do not have an equivalent filing for companies, similar to the Conversion filing for firms.
    • Suggested approach - to be assessed for its technical merit:
      • Leave the record unblocked.
      • Allow any starting points to start:
        • Alteration
        • Correction
        • Email change
        • Director change
        • Address change
      • Block any such filing, on opening, based on missing data.
  11. severinbeauvais commented on Mar 31, 2025

    @severinbeauvais
    Collaborator

    Technically, I think it would easier to block the business for all except whatever filing we decide on to enter some business addresses. (This would be similar logic to incomplete firms.)

  12. Mihai-QuickSilverDev commented on Mar 31, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • Not just addresses are going to be missing.
    • Practically, any piece of data that would be mandatory at incorporation could potentially be missing on an imported record.
  13. severinbeauvais commented on Apr 1, 2025

    @severinbeauvais
    Collaborator

    @OlgaPotiagalova @vikas-gov Please add this ticket/feature for discussion at the next refinement session, or possibly its own meeting. Thanks.

  14. severinbeauvais commented on Apr 3, 2025

    @severinbeauvais
    Collaborator

    With yesterday's fix for missing firm addresses (#26948), the subject business (a corp) also displays correctly even without addresses!

    image.png

    However, the existing COA filing does not handle "no addresses". It will have to be updated. And ditto for other filings to populate other missing data.

    image.png

  15. severinbeauvais commented on Apr 3, 2025

    @severinbeauvais
    Collaborator

    Background: since corps don't have a Conversion filing to enter missing data, Mihai suggested that we could use the existing filings to enter the missing data.

    We need to figure out what data might be missing, and then we can target which filings we need to update to handle that.

    cc: @argush3

  16. severinbeauvais commented on Apr 4, 2025

    @severinbeauvais
    Collaborator

    I created #27042 to allow the COA filing to enter initial addresses.

  17. changed the title [-]When trying to load a businesses dashboard for CCC company then the lagl API throws an error.[/-] [+]Business Dashboard UI: When trying to load a businesses dashboard for CCC company then the lagl API throws an error.[/+] on Apr 7, 2025
  18. changed the title [-]Business Dashboard UI: When trying to load a businesses dashboard for CCC company then the lagl API throws an error.[/-] [+]Business Dashboard UI: When trying to load a businesses dashboard for CCC company then the legal API throws an error.[/+] on Apr 8, 2025
  19. Mihai-QuickSilverDev commented on Apr 8, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • If we are loosening the grip on validations, we need to make sure that IA's are not affected.
  20. severinbeauvais commented on Apr 8, 2025

    @severinbeauvais
    Collaborator

    The root cause of this ticket is that the business was missing business addresses. That was fixed in a separate ticket (#26948).

    Also in this ticket, we wanted to verify that a business with missing data does not show any errors. Similarly, we wanted to verify that a business with missing data has filings available to it which allow the missing data to be entered (eg, COD, Alteration). This has now been verified (on Mar 8 by Mihai during meeting), except for COA with missing addresses -- which is a separate ticket (#27042).

    Therefore, this ticket can be closed.

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

Metadata

Metadata

Labels

Entities TeamPriority1bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions