merge request returns 500 Internal Server Error
Created by: gstorme
We have 2 merge requests that return this error in the gitlab production.log:
Started GET "/x/x/merge_requests/321" for x.x.x.x at 2015-10-27 11:39:17 +0100 Processing by Projects::MergeRequestsController#show as HTML Parameters: {"namespace_id"=>"x", "project_id"=>"x", "id"=>"321"} Completed 500 Internal Server Error in 267ms (ActiveRecord: 10.7ms)
ActionView::Template::Error ((): control characters are not allowed at line 1 column 1): 50: = link_to diffs_namespace_project_merge_request_path(@project.namespace, @project, @merge_request), data: {target: '#diffs', action: 'diffs', toggle: 'tab'} do 51: = icon('list-alt') 52: Changes 53: %span.badge= @merge_request.diffs.size 54: 55: .tab-content 56: #notes.notes.tab-pane.voting_notes app/models/merge_request_diff.rb:48:in diffs'
app/models/merge_request.rb:42:indiffs' app/views/projects/merge_requests/show.html.haml:53:in `block in app_views_projectsmerge_requestsshow_html_haml1316813672979675922_70095945581860' app/helpers/application_helper.rb:258:in link_to'
app/views/projects/merge_requests/_show.html.haml:50:inapp_views_projectsmerge_requestsshow_html_haml_1316813672979675922_70095945581860' app/views/projects/merge_requests/show.html.haml:1:in `app_views_projects_mergerequests_show_html_haml266120151584497111_70095945629440' app/controllers/projects/merge_requests_controller.rb:50:in `show'
How can this be fixed? Our gitlab version is 7.12.2.