eclipse-mylyn / org.eclipse.mylyn

Eclipse Public License 2.0
13 stars 9 forks source link

GitLab Tasks Connector fails on repo with issues disabled #501

Closed Paranoja closed 3 months ago

Paranoja commented 4 months ago

GitLab Connector (introduced in #37) fails to initialize it's configuration when user account lists repository with issues disabled in repository setting.

Steps to reproduce:

  1. Given GitLab server "S" with User "U" create a new Mylyn GitLab Connector configuration "C" using User U's login/password or access token
  2. Ensure user "U" has access to at least one GitLab Repository with "Issues" feature disabled:
    • Disable "Issues" feature in existing GitLab Repository
    • Create new GitLab Repository and disable "Issues" feature
  3. In Mylyn Task Repositories view create a "New Query" for GitLab repository "C"

Expected Result

Actual Result

Turns out that GitLab responds with 403 Forbidden for GET /projects/:id/milestones in such case.

BeckerFrank commented 3 months ago

@Paranoja: We close this Ticket. If not fixed please reopen this Ticket.