[7.4-stable] View file results in HTTP 500
Created by: pagerbak
From the production.log
Started GET "/git/person-og-organisation/pogo-package/blob/master/package/files/datasources/context.xml" for 127.0.0.1 at 2014-10-23 15:11:23 +0200
Processing by Projects::BlobController#show as HTML
Parameters: {"project_id"=>"person-og-organisation/pogo-package", "id"=>"master/package/files/datasources/context.xml"}
Completed 500 Internal Server Error in 106ms
ActionView::Template::Error ('nil' is not an ActiveModel-compatible object. It must implement :to_partial_path.):
17:
18: %ul.blob-commit-info.bs-callout.bs-callout-info.hidden-xs
19: - blob_commit = @repository.last_commit_for_path(@commit.id, @blob.path)
20: = render blob_commit, project: @project
21:
22: %div#tree-content-holder.tree-content-holder
23: %article.file-holder
app/views/projects/blob/_blob.html.haml:20:in `_app_views_projects_blob__blob_html_haml___1782428637323172511_70186761009120'
app/views/projects/blob/show.html.haml:5:in `_app_views_projects_blob_show_html_haml___141148790065402883_70186762711780'