Error 500 to show commit diff
Created by: junalmeida
I got an Error 500 while trying to display commit diffs. Got the following log:
Started GET "/gitlab/oficina-interativa/joaofortes-tablet/commit/9c677a5df90260652c7e2fb6e755c7488ef4d100" for 192.168.187.1 at 2013-05-20 07:13:37 -0300
Processing by CommitController#show as HTML
Parameters: {"project_id"=>"oficina-interativa/joaofortes-tablet", "id"=>"9c677a5df90260652c7e2fb6e755c7488ef4d100"}
Rendered commit/huge_commit.html.haml within layouts/project_resource (16.1ms)
Completed 500 Internal Server Error in 10502ms
ActionView::Template::Error (Missing partial commits/commit_box with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :slim, :coffee, :haml]}. Searched in:
* "/home/git/gitlab/app/views"
* "/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/kaminari-0.14.1/app/views"
* "/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views"
):
1: = render "commits/commit_box"
2: .alert.alert-error
3: %h4 Commit diffs are too big to be displayed
app/views/commit/huge_commit.html.haml:1:in `_app_views_commit_huge_commit_html_haml___62097815070005197_63724140'
app/controllers/commit_controller.rb:31:in `block (2 levels) in show'
app/controllers/commit_controller.rb:28:in `show'