•  
      request #27937 Create branch & merge request: Bad Request: `gitlab_merge_request[source_branch]` is required.
    Infos
    #27937
    Soumik Debnath (soumikdebnath)
    2023-05-23 15:46
    2022-08-11 12:35
    29504
    Details
    Create branch & merge request: Bad Request: `gitlab_merge_request[source_branch]` is required.

    An error occurred while creating the associated merge request: Bad Request: gitlab_merge_request[source_branch] is required.

    SCM/GitLab
    13.11
    EL7 (CentOS|RHEL)
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2022-09-17
    Attachments
    References
    References list is empty

    Follow-ups

    User avatar

    It seems that everything is working fine, I close this request.


    • Status changed from New to Closed
    • Close date set to 2022-09-17
    User avatar
    Joris MASSON (jmasson)2022-08-11 12:54

    I could only reproduce by trying to submit the form used to create the branch / Merge request with an empty source reference (with a red border on the screenshot below). How did you get this error ?
    I had to edit the HTML to remove the "required" attribute. If this field is empty, I get the same error (which is the expected behaviour).

    2449-empty-reference.png