500 when editing the slack ci service
Created by: BridgeAR
If I try to edit our slack service I'll always receive a 500 error. This issue exists for round about 4-8 weeks now.
You can reproduce the error by going into the project => settings => ci-services => slack => 500.
Our components are up to date:
GitLab 8.2.2
GitLab Shell 2.6.8
GitLab API v3
Ruby 2.1.7p400
Rails 4.1.12
Started GET "/A/B/ci_services/slack/edit" for nnn.nnn.nnn.nnn at 2015-12-04 16:19:38 +0100
Processing by Projects::CiServicesController#edit as HTML
Parameters: {"namespace_id"=>"A", "project_id"=>"B", "id"=>"slack"}
Completed 500 Internal Server Error in 29ms (ActiveRecord: 3.0ms)
ActionView::Template::Error (missing attribute: template):
50: .form-actions
51: = f.submit 'Save', class: 'btn btn-save'
52:
53: - if @service.valid? && @service.activated? && @service.can_test?
54: = link_to 'Test settings', test_namespace_project_ci_service_path(@project.namespace, @project, @service.to_param), class: 'btn'
app/models/service.rb:56:in `template?'
app/models/service.rb:41:in `block in <class:Service>'
app/views/projects/ci_services/_form.html.haml:53:in `block in _app_views_projects_ci_services__form_html_haml__1973048268800335643_62628600'
app/views/projects/ci_services/_form.html.haml:10:in `_app_views_projects_ci_services__form_html_haml__1973048268800335643_62628600'
app/views/projects/ci_services/edit.html.haml:2:in `_app_views_projects_ci_services_edit_html_haml___4067473617123527819_62600840'