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

Closed
Open
Created Oct 23, 2014 by Administrator@rootOwner

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