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

Cannot Import API Definition with Automatic Group Association #9385

Closed
exalate-issue-sync bot opened this issue Nov 16, 2023 · 1 comment
Closed

Cannot Import API Definition with Automatic Group Association #9385

exalate-issue-sync bot opened this issue Nov 16, 2023 · 1 comment

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Nov 16, 2023

Describe the bug :

Importing an API while a group is set to automatically associate to all new APIs causes an error.

To Reproduce :

Steps to reproduce the behaviour:

  1. Create a group and check the box to associate it automatically to all new APIs
  2. Attempt to import an API
  3. An internal server error is received

Expected behaviour :

APIs should be successfully imported when groups are automatically associated to new APIs.

Current behaviour :

Importing an API fails when a group is set to automatically associate to it.

Useful information :

ERROR i.g.r.a.m.r.provider.ThrowableMapper - Internal errorjava.lang.UnsupportedOperationException: nullat java.base/java.util.AbstractCollection.add(Unknown Source)at java.base/java.util.AbstractCollection.addAll(Unknown Source)at io.gravitee.rest.api.service.impl.ApiServiceImpl.createWithApiDefinition(ApiServiceImpl.java:508)

Desktop :

  • Environment: 4.1.1
Copy link
Author

This issue will be fixed in versions 4.0.13, 4.2.0, 4.1.4

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

0 participants