Skip to content

Use correct visibility value in addGroup(Group) #262

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

Merged
merged 1 commit into from
Oct 27, 2018

Conversation

mdeknowis
Copy link
Contributor

The implementation org.gitlab4j.api.GroupApi.addGroup(Group) has in small bug:

The parameter visibility is filled with the value of group.getDescription() instead of group.getVisibility()

Hence the request is failing, if description is set. Also it's not possible to change the default visibility private.

@gmessner
Copy link
Collaborator

@mdeknowis
Once again, thank you for your contribution.

@gmessner gmessner merged commit 21b7ce9 into gitlab4j:master Oct 27, 2018
@mdeknowis mdeknowis deleted the fix-add-group-visbility branch October 29, 2018 08:36
@mdeknowis
Copy link
Contributor Author

@gmessner Thanks!

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 this pull request may close these issues.

2 participants