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

Closed
Open
Created Jun 10, 2013 by Administrator@rootOwner

Network graph not working in 5.2

Created by: petr-k

The network graph does not work for me at 5.2. (Though I am under the impression that it did work few days ago.)

From the client side, the request sent to http://servername/user.name/testproject/graph/master.json results in the following HTTP 500 response:

<!DOCTYPE html>
<html>
<head>
  <title>We're sorry, but something went wrong (500)</title>
  <link href="/static.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
  <h1>500</h1>
  <h3>We're sorry, but something went wrong.</h3>
  <hr/>
  <p>We've been notified about this issue and we'll take a look at it shortly.</p>
</body>
</html>

The relevant log message in production.log:

Started GET "/user.name/testproject/graph/master.json" for 192.168.2.7 at 2013-06-10 17:39:27 +0200
Processing by GraphController#show as JSON
  Parameters: {"project_id"=>"user.name/testproject", "id"=>"master"}
  Rendered graph/show.json.erb (1.6ms)
Completed 500 Internal Server Error in 78ms

ActionView::Template::Error (comparison of String with 0 failed):
  app/helpers/graph_helper.rb:7:in `>'
  app/helpers/graph_helper.rb:7:in `get_refs'
  app/views/graph/show.json.erb:16:in `block in _app_views_graph_show_json_erb__3675962_83326020'
  app/views/graph/show.json.erb:6:in `map'
  app/views/graph/show.json.erb:6:in `_app_views_graph_show_json_erb__3675962_83326020'
Assignee
Assign to
Time tracking