Skip to content

Wrong information text showing on BRD when the affiliation calls fail. #26360

Closed

Description

@riyazuddinsyed

Describe the bug in the current situation
When the affiliation calls fail with say 502 BadGateway error then the text on the My Business Registry dashboard shows a text saying "You don't have any businesses listed." which is not correct as the account has affiliated businesses.

Impact of this bug
Low

Steps to reproduce the behavior:

  1. Go to 'https://dev.business-registry-dashboard.bcregistry.gov.bc.ca/account/2079'
  2. Login with BCREGA001
  3. In the network tab block the call"https://auth-api-dev-142173140222.northamerica-northeast1.run.app/api/v1/orgs/2079/affiliations?new=true"
  4. See error

Screenshots/ Visual Reference/ Source
Screen Shot 2025-03-05 at 12.49.17 PM.png

Activity

  1. added
    bug
    Entities Team
    on Mar 5, 2025
  2. JazzarKarim commented on Mar 6, 2025

    @JazzarKarim
    Collaborator

    I can't replicate this but I get what the issue is:image.png

    If for whatever reason the loading of affiliations fails, we probably want to show something else. Something like "Failed to load businesses, please try again". We don't have that in the code as of right now.

  3. self-assigned this
    on Mar 6, 2025
  4. jacqueline-williams-549 commented on Mar 14, 2025

    @jacqueline-williams-549
  5. JazzarKarim commented on Mar 17, 2025

    @JazzarKarim
    Collaborator

    UX / QA Test Notes:

    Please try https://business-registry-dev--pr-80-rrfye92o.web.app/ if you want to see this.

  6. jacqueline-williams-549 commented on Mar 18, 2025

    @jacqueline-williams-549

    Can we increase the top padding so that it is 3.5 rem (56px)?Screenshot 2025-03-18 at 2.46.12 PM.png

  7. JazzarKarim commented on Mar 18, 2025

    @JazzarKarim
    Collaborator

    Can we increase the top padding so that it is 3.5 rem (56px)?Screenshot 2025-03-18 at 2.46.12 PM.png

    Sure thing, on it.

  8. JazzarKarim commented on Mar 24, 2025

    @JazzarKarim
    Collaborator
  9. jacqueline-williams-549 commented on Mar 24, 2025

    @jacqueline-williams-549

    This looks great, moving to QA thank you

  10. meawong commented on Mar 31, 2025

    @meawong
    Collaborator

    Looks good, moving to Done.

    When the Affiliations call is blocked in the network tab, we see the error dialog: image.png

    Expanded information section:
    image.png

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

Metadata

Metadata

Labels

Entities TeamPriority3UX Assurancebug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions