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
  • #1180

Closed
Open
Created Aug 01, 2012 by Administrator@rootOwner

500 error on dashboard and project page after push

Created by: koenpunt

After a push to a non-master branch I got a 500 error on the dashboard and project page, error in log says:

Started GET "/fetch_cms_core/" for xx.xxx.xx.xx at 2012-08-01 16:18:29 +0200
Processing by ProjectsController#show as HTML
  Parameters: {"id"=>"fetch_cms_core"}
  Rendered projects/_project_head.html.haml (77.8ms)
  Rendered events/_event_last_push.html.haml (3.6ms)
  Rendered projects/show.html.haml within layouts/project (94.4ms)
Completed 500 Internal Server Error in 315ms

ActionView::Template::Error (can't convert Symbol into Integer):
    1: - if show_last_push_widget?(event)
    2:   .event_lp
    3:     %div
    4:       = image_tag gravatar_icon(event.author_email), :class => "avatar"
  app/roles/push_event.rb:13:in `[]'
  app/roles/push_event.rb:13:in `branch?'
  app/roles/push_event.rb:96:in `last_push_to_non_root?'
  app/helpers/application_helper.rb:94:in `show_last_push_widget?'
  app/views/events/_event_last_push.html.haml:1:in `_app_views_events__event_last_push_html_haml__2530904278286975823_45155300'
  app/views/projects/show.html.haml:27:in `_app_views_projects_show_html_haml___2398471322377289963_47255300'
  app/controllers/projects_controller.rb:55:in `block (2 levels) in show'
  app/controllers/projects_controller.rb:51:in `show'

Dashboard and project page came available again after a push to the master branch.

Assignee
Assign to
Time tracking