TypeError in gitlab_post_receive.rb
I'm not sure if this is right place for this, but I got the following stack trace when doing a push
of a new branch
remote: /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_post_receive.rb:61:in `[]': no implicit conversion of String into Integer (TypeError)
remote: from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_post_receive.rb:61:in `print_merge_request_link'
remote: from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_post_receive.rb:57:in `block in print_merge_request_links'
remote: from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_post_receive.rb:57:in `each'
remote: from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_post_receive.rb:57:in `print_merge_request_links'
remote: from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_post_receive.rb:38:in `exec'
remote: from hooks/post-receive:18:in `<main>'
remote:
I've checked the lines in the file and it seems plausible to me that there error might still be there. After looking at it a bit it seems that maybe the response to merge_request_urls is coming back as an array, especially since the code to compute the URL has changed in the latest commit.
Edited by username-removed-128633