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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[console] Can't access a newly created API with import #7216

Closed
phiz71 opened this issue Mar 1, 2022 · 1 comment
Closed

[console] Can't access a newly created API with import #7216

phiz71 opened this issue Mar 1, 2022 · 1 comment

Comments

@phiz71
Copy link
Member

phiz71 commented Mar 1, 2022

馃挜 Describe the bug

Given an imported API and no default group is attached to it
When I try to access the detail page of this API
Nothing happens

馃寗 To Reproduce

Steps to reproduce the behaviour:

  1. Make sure there is no default group to be associated to each new API
  2. Import an API from link or from file
  3. Go back to APIs list
  4. Try to access the newly created API

馃帴 Useful information

There is a 500 Error on this call /management/organizations/DEFAULT/environments/DEFAULT/apis/{apiId}/groups
And a NullPointerException in API Management logs

鈿狅笍 Potential impacts

Introduced in 3.10.11

馃敆 Dependencies

Bug introduced with #6360

@RubenMMSantos
Copy link

RubenMMSantos commented Mar 2, 2022

issue verified on https://apim-3-10-x-console.cloud.gravitee.io/ environment and confirmed has fixed. Scenarios below were checked as extra testing

  • created new api > exported > deleted API from APIM > imported API > able to access API details
  • Repeated the same steps but also added a plan to the API when creating it > able to access API details
  • made changes to the API > exported API > Deleted API from APIM > Imported API > able to access API details
  • made changes to API > exported API > reverted changes > imported API with changes > able to access API details

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

No branches or pull requests

3 participants