Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9069

Closed
Open
Created Apr 01, 2015 by Administrator@rootOwner

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'
Assignee
Assign to
Time tracking