Skip to content

Create + Edit UI - Search business endpoint shows warning as deprecated. #23555

Closed

Description

@riyazuddinsyed

See also #23558 and #23768.

THIS BUG LIKELY EXISTS IN EDIT UI AS WELL. PLEASE FIX BOTH UIs.

Describe the bug in the current situation
While filing for a Cont In filing and searching for an Extra Provincial Company, the Search business endpoint shows the warning saying it's deprecated.

Steps to reproduce the behavior:

  1. Go to 'https://test.account.bcregistry.gov.bc.ca/'
  2. Start filing a Cont In Filing
  3. Open the network tab and search for an xpro company
  4. In the Preview section of the API response the warning message shows up as depreciated

Screenshots/ Visual Reference/ Source
Screen Shot 2024-09-26 at 12.59.00 PM.png

To Do List:

  • Update url to use new endpoint
  • Apply any changes
  • Verify url param and response and update as needed

Activity

  1. added
    bug
    Entities Team
    on Sep 26, 2024
  2. changed the title [-]Search business endpoit shows warning as depreciated.[/-] [+]Create UI: Search business endpoint shows warning as depreciated.[/+] on Sep 26, 2024
  3. severinbeauvais commented on Sep 26, 2024

    @severinbeauvais
    Collaborator

    image.png

  4. Mihai-QuickSilverDev commented on Oct 10, 2024

    @Mihai-QuickSilverDev
    Collaborator

    @OlgaPotiagalova to add to go live MVP epic

  5. changed the title [-]Create UI: Search business endpoint shows warning as depreciated.[/-] [+]Create UI+Edit UI - Search business endpoint shows warning as depreciated.[/+] on Oct 10, 2024
  6. changed the title [-]Create UI+Edit UI - Search business endpoint shows warning as depreciated.[/-] [+]Create UI - Search business endpoint shows warning as depreciated.[/+] on Oct 10, 2024
  7. changed the title [-]Create UI - Search business endpoint shows warning as depreciated.[/-] [+]Create + Edit UI - Search business endpoint shows warning as depreciated.[/+] on Oct 10, 2024
  8. changed the title [-]Create + Edit UI - Search business endpoint shows warning as depreciated.[/-] [+]Create + Edit UI - Search business endpoint shows warning as deprecated.[/+] on Nov 4, 2024
  9. JazzarKarim commented on Jan 6, 2025

    @JazzarKarim
    Collaborator

    Regarding the api/v2/search/businesses endpoint, the V2 endpoint should be OK.

    I spoke to Kial about it. Apparently, they are aware of the security issue of the parties being returned. The parties that are being returned are only the public parties (proprietors / partners). This endpoint will ONLY ever return public parties which are all available to everyone. He said there are no security/privacy issues at all.

    So, moving to the V2 endpoint should be fine and should be done eventually.

    Ref: bcgov/business-ui#44

  10. self-assigned this
    on Oct 28, 2026
  11. vishnup0422 commented on Oct 29, 2026

    @vishnup0422
    Collaborator

    image.png

    Result: FAIL (Create UI). Searching for an extra-provincial company in a Continuation In filing (Existing Business Information step) still calls GET /registry-search/api/v1/businesses/search/facets?... on TEST, and the response still includes the warning “This endpoint is deprecated. Please use POST /api/v2/search/businesses instead.” Screenshot attached. Is the fix deployed to TEST? Or does the facets call also need to move to v2?
  12. kialj876 commented on Oct 30, 2026

    @kialj876
    Collaborator

    @vishnup0422 this won't be in the test environment until the next release is started. Nothing in our QA pipeline gets into TEST until there's a release tagged on it

  13. self-assigned this
    on Nov 4, 2026
  14. gunanagar commented on Nov 4, 2026

    @gunanagar
    Collaborator

    Testing was completed after the deployment to TEST, and the issue has been fixed. Also completed the filing successfully, with no impact observed. Validated the responses and no warning found

    Screenshot 2026-11-04 at 10.46.52 AM.png

    Screenshot 2026-11-04 at 10.38.38 AM.png

    Screenshot 2026-11-04 at 10.39.28 AM.png

    Screenshot 2026-11-04 at 10.39.52 AM.png

    Screenshot 2026-11-04 at 10.40.46 AM.png

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

Metadata

Metadata

Labels

Entities TeamPriority3bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions