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

Closed
Open
Created Mar 19, 2013 by Administrator@rootOwner

Error 500 when browsing commit

Created by: rtripault

Currently on 5.0.0.beta2 a0c0872, the following error happens when browsing a commit (no matter the content of the commit)

Rendered commit/show.html.haml within layouts/project_resource (74.5ms)
Completed 500 Internal Server Error in 142ms
ActionView::Template::Error (could not find any magic files!):
40: .content
41: -# Skipp all non non-supported blobs
42: - next unless file.respond_to?('text?')
43: - if file.text?
44: = render "commits/text_file", diff: diff, index: i
45: - elsif file.image?
46: - old_file = (@commit.prev_commit.tree / diff.old_path) if [email protected]_commit.nil?
app/views/commits/_diffs.html.haml:43:in `block in _app_views_commits__diffs_html_haml___1831659627690816956_33834860'
app/views/commits/_diffs.html.haml:17:in `each'
app/views/commits/_diffs.html.haml:17:in `each_with_index'
app/views/commits/_diffs.html.haml:17:in `_app_views_commits__diffs_html_haml___1831659627690816956_33834860'
app/views/commit/show.html.haml:9:in `_app_views_commit_show_html_haml___4347783164650046636_59520500'
Assignee
Assign to
Time tracking