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

Closed
Open
Created May 10, 2013 by Administrator@rootOwner

Files tab log+view problem

Created by: Mika56

Hi,

I'm having some problems with my GitLab installation. Indeed, the files tab is not working very well.

When I go on that tab, it says "Loading commit data" but never loads anything. Logs says an error, but I don't know how to deal with it:

Started GET "/vgn/blog/refs/master/logs_tree/?_=1368221705998" for 79... at 2013-05-10 23:34:35 +0200
Processing by RefsController#logs_tree as JS
  Parameters: {"_"=>"1368221705998", "project_id"=>"vgn/blog", "id"=>"master"}
  Rendered refs/logs_tree.js.haml (0.6ms)
Completed 500 Internal Server Error in 128ms

ActionView::Template::Error (undefined method `committed_date' for nil:NilClass):
    4:
    5:   :plain
    6:     var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}");
    7:     row.find("td.tree_time_ago").html('#{escape_javascript time_ago_in_words(commit.committed_date)} ago');
    8:     row.find("td.tree_commit").html('#{escape_javascript render("tree/tree_commit_column", commit: commit)}');
  app/views/refs/logs_tree.js.haml:7:in `block in _app_views_refs_logs_tree_js_haml__208013548118956428_31246880'
  app/views/refs/logs_tree.js.haml:1:in `each'
  app/views/refs/logs_tree.js.haml:1:in `_app_views_refs_logs_tree_js_haml__208013548118956428_31246880'

Also, when I click any file or folder, the page doesn't load, and I get these errors in logs:

Started GET "/vgn/blog/tree/master/app?_=1368221812959" for 79... at 2013-05-10 23:36:22 +0200
Processing by TreeController#show as JS
  Parameters: {"_"=>"1368221812959", "project_id"=>"vgn/blog", "id"=>"master/app"}
  Rendered errors/not_found.html.haml within layouts/errors (0.2ms)
  Rendered layouts/_head.html.haml (2.7ms)
  Rendered layouts/_search.html.haml (24.9ms)
  Rendered layouts/_init_auto_complete.html.haml (4.4ms)
  Rendered layouts/_head_panel.html.haml (35.0ms)
  Rendered layouts/_flash.html.haml (0.1ms)
Filter chain halted as :assign_ref_vars rendered or redirected
Completed 404 Not Found in 61ms (Views: 38.7ms | ActiveRecord: 2.5ms)

I'm using GitLab 5.1 and in sync with that branche (not master, sorry if it has been fixed in there)

I don't know if that problem is from my installation or GitLab related, so I posted it here since I'm not a Ruby developer

Mika.

Assignee
Assign to
Time tracking