Skip to content

Filings UI: COA fails to load when there are no addresses #27042

Closed

Description

@severinbeauvais

Description

In #26872, a migrated CCC failed to load their Business Dashboard due to the lack of business addresses. This issue was resolved collaterally by #26948.

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

However, the existing COA filing does not handle "no addresses". It needs to be updated.

image.png

Requirements (new)

If the "fetch addresses" call returns "address not found" then:

  • the Change Of Address filing must start without errors
  • the addresses component must show "(Not entered") for each address
  • it must be possible to enter new addresses
  • the filing must not be valid until new, valid addresses are entered
  • the filing must be paid and filed without errors.

Otherwise, report errors as usual.

Activity

  1. added
    Entities Team
    bug
    on Apr 4, 2025
  2. severinbeauvais commented on Apr 4, 2025

    @severinbeauvais
    CollaboratorAuthor

    To do:

    • allow COA to start even when addresses can't be fetched
      • ensure this is "no addresses on file" not an environmental HTTP 404
    • verify/fix validation so that COA must have addresses before filing
    • verify this works for corps and coops without Registered Office or Records Office addresses
      • assume if one is missing that the other is also missing
  3. severinbeauvais commented on Apr 4, 2025

    @severinbeauvais
    CollaboratorAuthor

    @Mihai-QuickSilverDev @OlgaPotiagalova The COA filing assumes any address update will be effective tomorrow (12:01am). Is this OK for the entry of addresses where there weren't any before? Or do we need the ability to set a retroactive effective date?

  4. Mihai-QuickSilverDev commented on Apr 4, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • The addresses needs to always stay to effective date at midnight+1
    • Unless it is a data fix
  5. severinbeauvais commented on Apr 4, 2025

    @severinbeauvais
    CollaboratorAuthor

    OK. Then this ticket is groomed and ready to work on. Moving to Product Backlog.

  6. severinbeauvais commented on Apr 10, 2025

    @severinbeauvais
    CollaboratorAuthor

    Sample corp without addresses in Dev (done by removing cross-reference records in db "offices" table):
    https://dev.business-dashboard.bcregistry.gov.bc.ca/C9900907?accountid=3040

    Sample coop without addresses in Dev:
    TBD

  7. severinbeauvais commented on Apr 16, 2025

    @severinbeauvais
    CollaboratorAuthor

    If either the main address object is missing, or the sub-objects for registered office or records office is missing then show this:

    image.png

    Partial code fix:
    bcgov/business-filings-ui#743

    Partial fix sample URL:
    http://localhost:8080/C9900907/standalone-addresses?filingId=0

  8. severinbeauvais commented on Apr 16, 2025

    @severinbeauvais
    CollaboratorAuthor

    Sample Businesses

    (Log in with bcreg0020 / Severin Dev Account.)

    1. Sample coop without addresses (HTTP 404): https://dev.business-dashboard.bcregistry.gov.bc.ca/CP1002579?accountid=2288
    2. Sample coop with empty address (HTTP 200): https://dev.business-dashboard.bcregistry.gov.bc.ca/CP1002539?accountid=2288
    3. Sample corp with empty addresses (HTTP 200): https://dev.business-dashboard.bcregistry.gov.bc.ca/BC0887743?accountid=2288
    4. Sample corp without addresses (HTTP 404): https://dev.business-dashboard.bcregistry.gov.bc.ca/BC0883825?accountid=2288

    Then click Change Addresses button.

  9. Mihai-QuickSilverDev commented on Apr 21, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • I get this error message when opening an address change, in Dev, first coop record mentioned above.
  10. riyazuddinsyed commented on May 7, 2025

    @riyazuddinsyed
    Contributor

    There is another bug ticket https://app.zenhub.com/workspaces/entities---olga-65af15f59e89f5043c2911f7/issues/gh/bcgov/entity/27621 which relates to the payment.Moving this ticket to done as the COA loads with no addresses

  11. Mihai-QuickSilverDev commented on May 12, 2025

    @Mihai-QuickSilverDev
    Collaborator
    • Resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities TeamPriority1bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions