[DRE-maint] Bug#900066: gitlab: 500 error on merge request creation
Pirate Praveen
praveen at debian.org
Sat May 26 10:28:59 BST 2018
Control: tags -1 pending
On Friday 25 May 2018 09:03 PM, Simon Vetter wrote:
> Processing by ProjectsController#autocomplete_sources as JSON
> Parameters: {"type"=>"MergeRequest", "namespace_id"=>"operations",
> "id"=>"ems"}
> Completed 200 OK in 502ms (Views: 169.8ms | ActiveRecord: 53.2ms)
> Started POST "/operations/ems/merge_requests" for [redacted ip address]
> at 2018-05-25 16:09:41 +0100
> Processing by Projects::MergeRequestsController#create as HTML
> Parameters: {"utf8"=>"✓", "authenticity_token"=>"[redacted token]",
> "merge_request"=>{"title"=>"[redacted merge request title]",
> "description"=>"", "label_ids"=>[""], "force_remove_source_branch"=>"0",
> "lock_version"=>"0", "source_project_id"=>"1",
> "source_branch"=>"[redacted source git branch]",
> "target_project_id"=>"1", "target_branch"=>"master"},
> "namespace_id"=>"operations", "project_id"=>"ems"}
> Completed 500 Internal Server Error in 123ms (ActiveRecord: 13.2ms)
>
> NameError (undefined local variable or method `source_project' for
> #<MergeRequests::CreateService:0x0055dc04005920>
> Did you mean? @source_project):
> app/services/merge_requests/create_service.rb:6:in `execute'
> app/controllers/projects/merge_requests_controller.rb:254:in `create'
> lib/gitlab/request_profiler/middleware.rb:15:in `call'
> lib/gitlab/middleware/go.rb:16:in `call'
Thanks for the report.
This is now fixed in the stretch-updates branch and waiting for approval
from security team to upload the fixed version.
More information about the Pkg-ruby-extras-maintainers
mailing list