500 after login #2580

huahang opened this Issue Jan 14, 2013 · 1 comment


None yet
2 participants

huahang commented Jan 14, 2013

Started GET "/" for at 2013-01-14 13:03:45 +0000
Processing by DashboardController#index as HTML
  Rendered events/_event_last_push.html.haml (4.2ms)
  Rendered dashboard/_activities.html.haml (4.5ms)
  Rendered dashboard/index.html.haml within layouts/application (4.9ms)
Completed 500 Internal Server Error in 19ms

ActionView::Template::Error (can't convert Symbol into Integer):
    1: - if show_last_push_widget?(event)
    2:   .event_lp
    3:     = image_tag "event_push.png"
  app/roles/push_event.rb:13:in `[]'
  app/roles/push_event.rb:13:in `branch?'
  app/roles/push_event.rb:98:in `last_push_to_non_root?'
  app/helpers/application_helper.rb:139:in `show_last_push_widget?'
  app/views/events/_event_last_push.html.haml:1:in `_app_views_events__event_last_push_html_haml__636906158_87852700'
  app/views/dashboard/_activities.html.haml:1:in `_app_views_dashboard__activities_html_haml__763716280_88271460'
  app/views/dashboard/index.html.haml:4:in `_app_views_dashboard_index_html_haml__131459335_88026610'
  app/controllers/dashboard_controller.rb:29:in `index'

This comment has been minimized.

Show comment Hide comment

huahang Jan 14, 2013

I think it is caused by a commit with a very very long commit message.

huahang commented Jan 14, 2013

I think it is caused by a commit with a very very long commit message.

@mikkyhouse mikkyhouse closed this Feb 25, 2013

dzaporozhets added a commit that referenced this issue Sep 21, 2015

Merge branch 'fix-mr-without-refs' into 'master'
Fetch merge request ref if it is missing when visit MR page

This will fix merge problem for merge requests between forks created
before 8.0

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Needed for 8.0

Fixes #2580 

See merge request !1377
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment