Skip to content

Business Dashboard UI: need to provide business id when changing email or phone number (was: infinite loop) #24822

Closed

Description

@Mihai-QuickSilverDev

When trying to update the phone number on an entity dashboard, the corporation number from the url gets lost, and the page goes into an infinite loop

Steps to replicate:

  1. In the new Entity Dashboard
  2. Go to any company's record
  3. On the top right of the screen click on change phone
  4. You will see this manifestation described below

image.png

@OlgaPotiagalova @severinbeauvais FYI....

Activity

  1. added
    Entities Team
    on Dec 10, 2024
  2. changed the title [-]NED - Phone number change goes into infinite loop[/-] [+]New Entity Dashboard - Phone number change goes into infinite loop[/+] on Dec 10, 2024
  3. added
    bug
    BTR
    on Dec 10, 2024
  4. severinbeauvais commented on Dec 10, 2024

    @severinbeauvais
    Collaborator

    I deleted a couple of obsolete comments here (including a response from Melissa)

  5. removed
    Entities Team
    on Dec 11, 2024
  6. removed
    BTR
    on Jan 29, 2025
  7. added
    Entities Team
    on Feb 27, 2025
  8. changed the title [-]New Entity Dashboard - Phone number change goes into infinite loop[/-] [+]Business Dashboard - Email r phone number change goes into infinite loop[/+] on Feb 27, 2025
  9. changed the title [-]Business Dashboard - Email r phone number change goes into infinite loop[/-] [+]Business Dashboard - Email or phone number change goes into infinite loop[/+] on Feb 27, 2025
  10. severinbeauvais commented on Feb 27, 2025

    @severinbeauvais
    Collaborator

    @seeker25 and I chatted about this recently.

    The issue is that the Business Dashboard UI is redirecting to Auth Web to update the profile data (aka Registered Office Contact Information), but Auth Web doesn't know which business is in scope. This worked previously because the business ID is stored in session storage, and BD UI and Auth Web were in the same domain and therefore used the same session storage. Now they are in separate domains and session storage is not shared.

    One proposed solution/workaround is to pass the business id as part of the target URL, so that Auth code knows which business to update.

    A better solution is to move this business profile data from Auth into LEAR, where it belongs because it is business data. Then, Business Dashboard UI could make a call right to Legal API to update this info. (This would require updates to a couple of APIs and several UIs.)

    cc: @seeker25

  11. deleted a comment from mstanton1 on Mar 3, 2025
  12. changed the title [-]Business Dashboard - Email or phone number change goes into infinite loop[/-] [+]Business Dashboard UI: need to provide account id when changing email or phone number (was: infinite loop)[/+] on Mar 3, 2025
  13. changed the title [-]Business Dashboard UI: need to provide account id when changing email or phone number (was: infinite loop)[/-] [+]Business Dashboard UI: need to provide business id when changing email or phone number (was: infinite loop)[/+] on Mar 3, 2025
  14. severinbeauvais commented on Mar 4, 2025

    @severinbeauvais
    Collaborator

    TO DO

    • pass business id in URL to Auth Web

    See also 26272.

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

Metadata

Metadata

Assignees

Labels

Entities TeamPriority2bugprod defect

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions