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

[Management] cannot import APi with primary owner of type group and empty members list in group mode #6808

Closed
a-cordier opened this issue Dec 24, 2021 · 1 comment

Comments

@a-cordier
Copy link
Member

a-cordier commented Dec 24, 2021

💥 Describe the bug

An error message is displayed to the user when trying to import an API definition with a group as a Primary Owner and an empty member list

ℹ️ The API is created despite the message

🌄 To Reproduce

  • create an API with a primary owner as a group
  • remove all members if any
  • export the API, checking every options
  • delete the API
  • try to import the API definition again

Import fails with message user <PO_GROUP_ID> cannot be found

ℹ️ removing the members empty list from the definition circumvent the issue

🌈 Expected behaviour

I should be able to import the exported definition again without any error message

🎥 Useful information

Screenshot 2021-12-24 at 10 34 14

What are the impacted versions?

  • 3.14.x at least
@RubenMMSantos
Copy link

issue verified and confirmed as fixed
verified on envir 3-10-X, successfully created an API (via IMPORT) that had a group set as primary owner

@phiz71 phiz71 changed the title [management] cannot import APi with primary owner of type group and empty members list in group mode [Management] cannot import APi with primary owner of type group and empty members list in group mode May 24, 2022
@phiz71 phiz71 modified the milestones: APIM - 3.10.x, APIM - 3.10.15 May 24, 2022
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

7 participants