Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MarvinVaillant opened this issue Feb 26, 2024 · 2 comments · Fixed by #2424
Closed

Comments

@MarvinVaillant
Copy link

MarvinVaillant commented Feb 26, 2024

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

  • Before selecting an API from the list, different information than "The specified API does not exist." is displayed because in current approach it is kind of misleading that specified API does not exist even though no API is selected.
  • Title in API Details component is populated right away, without refresh required after selecting an API.

Is your portal managed or self-hosted?

Managed

Environment

  • Operating system: MacOS
  • Browser: Firefox
  • Version: 122.0.1

Additional context

none

@MarvinVaillant MarvinVaillant changed the title "the specific api does not exist" shown even if specification is selected and exists "the specific api does not exist" shown if API is selected in api-details widget Feb 26, 2024
@MarvinVaillant
Copy link
Author

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

@MarvinVaillant
Copy link
Author

When is the fix going to be rolled out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant