ActionView::Template::Error on project/services pages with GitlabIssueTrackerService.
Created by: jarpy
I'm getting this issue for some of my project home pages after upgrading from 7.6.2 to 7.9.1.
The output of gitlab-ctl reconfigure
, gitlab-rake db:migrate
and gitlab-rake gitlab:check
show no errors.
Started GET "[REDACTED]" for 127.0.0.1 at 2015-04-01 13:59:55 +1100
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"[REDACTED]"}
Completed 500 Internal Server Error in 158ms
ActionView::Template::Error (The single-table inheritance mechanism failed to locate the subclass: 'GitlabIssueTrackerService'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Service.inheritance_column to use another column for that information.):
62: - else
63: #{link_to @project.owner_name, @project.owner}
64:
65: - @project.ci_services.each do |ci_service|
66: - if ci_service.active? && ci_service.respond_to?(:builds_path)
67: - if ci_service.respond_to?(:status_img_path)
68: = link_to ci_service.builds_path do
app/models/project.rb:325:in `ci_services'
app/views/projects/show.html.haml:65:in `_app_views_projects_show_html_haml__3484415254094103639_39488400'
app/controllers/projects_controller.rb:69:in `block (2 levels) in show'
app/controllers/projects_controller.rb:62:in `show'