Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
478 stars 306 forks source link

"the specific api does not exist" shown if API is selected in `api-details` widget #2421

Closed MarvinVaillant closed 4 months ago

MarvinVaillant commented 4 months ago

Bug description

The developer portal widget api-details shows "the specific api does not exist" if you initially select an API in the api-list (Dropdown) widget. Even though a valid API has been selected and the API exists.

If you refresh the page after selecting the API, the api-details shows the correct information.

Reproduction steps

  1. In the developer portal management ui create a new page containing the api-list (Dropdown) widget and a api-details widget. image
  2. Save and publish
  3. Open the just created page in the developer portal as a "normal" user (not the management ui)
  4. In API Details component there is a text "The specified API does not exist." even though no API was selected.
  5. Select an API in the dropdown
  6. the api-details shows the message "the specific api does not exist" instead of the actual API details. image
  7. if you refresh the browser window the API details are shown correctly image

Once the browser window has been refreshed the dropdown works as expected and changes the api-details content upon change.

Expected behavior

Is your portal managed or self-hosted?

Managed

Environment

Additional context

none

MarvinVaillant commented 4 months ago

This problem also happens if we use a api-list widget instead of the api-list (Dropdown) widget.

MarvinVaillant commented 3 months ago

When is the fix going to be rolled out?