You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was also doubting whether sending query data in POST requests really made sense when reading the original issue #1120 (comment) 🤔
So we should test that @ferhat-aram's case (from the original issue) still works. But I suspect that has something to do with custom reverse proxies rather than GitLab itself.
BTW out of curiosity where did you get python-gitlab 2.9.0? 😁
should have been python-gitlab 2.7.1. I should have double checked (conflated 1.9.0 from docs and 2.7.1 from github). I have updated the original issue to be correct
Description of the problem, including code/CLI snippet
After upgrading to python-gitlab 2.7.1 from 2.1.2 merge requests no longer consistently merge.
Having a large (more than 1000 character) merge commit message returns a 414 request too large, due to putting the commit message in query string.
mergeRequest.merge(merge_commit_message=closureNote, should_remove_source_branch=True)
The behaviour change occurred in python-gitlab 2.4.0:
878098b
#1121
Expected Behavior
Merge request should merge to the target branch with the (large) merge commit message and remove the existing source branch
Actual Behavior
gitlab.exceptions.GitlabMRClosedError exception occurs with 414 request-URI too large error
Specifications
The text was updated successfully, but these errors were encountered: