Skip to content

gitlab 13.x gitlab access level 5 not supported- throws exception  #393

@ashwin25

Description

@ashwin25

exception while looping through git projects through GitlabProject object :
Caused by: java.lang.IllegalArgumentException: No GitLab Access Level enum constant with access value: 5

gitlab has introduced level 5 minimum access level in git 13.x as documented here -> https://docs.gitlab.com/ee/api/access_requests.html#valid-access-levels

fix required in this file-> https://github.com/timols/java-gitlab-api/blob/master/src/main/java/org/gitlab/api/models/GitlabAccessLevel.java#L5-L10

@timols i shall raise a PR shortly based on contrib guidelines please accept.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions