Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-409

pr set --no-draft fails on gitlab provider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cli
    • Labels:
      None

      Description

       git pr set --no-draft
      Jun 11, 2020 1:29:56 PM org.openjdk.skara.network.RestRequest transformBadResponse
      WARNING: org.openjdk.skara.network.RestRequest$QueryBuilder@13eb8acf
      Jun 11, 2020 1:29:56 PM org.openjdk.skara.network.RestRequest transformBadResponse
      WARNING: {"error":"title is empty"}
      Exception in thread "main" java.lang.RuntimeException: Request returned bad status: 400
              at org.openjdk.skara.network/org.openjdk.skara.network.RestRequest.transformBadResponse(RestRequest.java:285)
              at org.openjdk.skara.network/org.openjdk.skara.network.RestRequest.execute(RestRequest.java:325)
              at org.openjdk.skara.network/org.openjdk.skara.network.RestRequest$QueryBuilder.execute(RestRequest.java:156)
              at org.openjdk.skara.forge/org.openjdk.skara.forge.gitlab.GitLabMergeRequest.setTitle(GitLabMergeRequest.java:294)
              at org.openjdk.skara.forge/org.openjdk.skara.forge.gitlab.GitLabMergeRequest.makeNotDraft(GitLabMergeRequest.java:684)
              at org.openjdk.skara.cli/org.openjdk.skara.cli.pr.GitPrSet.main(GitPrSet.java:164)
              at org.openjdk.skara.args/org.openjdk.skara.args.Command.main(Command.java:54)
              at org.openjdk.skara.args/org.openjdk.skara.args.MultiCommandParser.lambda$parse$2(MultiCommandParser.java:63)
              at org.openjdk.skara.cli/org.openjdk.skara.cli.GitPr.main(GitPr.java:82)
              at org.openjdk.skara.cli/org.openjdk.skara.cli.GitSkara.main(GitSkara.java:192)

      I actually assume this may never work, the original title is replaced with "WIP" in gitlab's case ? Or the PR title needs saving at least.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dsimms David Simms
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: