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

Closed
Open
Created Sep 13, 2013 by Administrator@rootOwner

Merge request screen error 500

Created by: lrmunoz

After creating a merge request as described in issue #5069 (closed) if we go to the merge request screen we get an error 500, this is what appears in the logfile:

Started GET "/dashboard/merge_requests" for 127.0.0.1 at 2013-09-13 10:55:36 +0000
Processing by DashboardController#merge_requests as HTML
  Rendered shared/_filter.html.haml (21.4ms)
  Rendered projects/merge_requests/_merge_request.html.haml (3.0ms)
  Rendered shared/_merge_requests.html.haml (9.5ms)
  Rendered dashboard/merge_requests.html.haml within layouts/application (33.2ms)
Completed 500 Internal Server Error in 44ms

ActionView::Template::Error (undefined method `path_with_namespace' for nil:NilClass):
    10:       %span.pull-right
    11:         - if merge_request.for_fork?
    12:           %span.light
    13:             = "#{merge_request.source_project.path_with_namespace}"
    14:           = "#{merge_request.source_branch}"
    15:           %i.icon-angle-right.light
    16:           = "#{merge_request.target_branch}"
  app/views/projects/merge_requests/_merge_request.html.haml:13:in `_app_views_projects_merge_requests__merge_request_html_haml___841375359926327453_69596700'
  app/views/shared/_merge_requests.html.haml:9:in `block (2 levels) in _app_views_shared__merge_requests_html_haml__2394174117831343598_70243800'
  app/views/shared/_merge_requests.html.haml:8:in `each'
  app/views/shared/_merge_requests.html.haml:8:in `block in _app_views_shared__merge_requests_html_haml__2394174117831343598_70243800'
  app/views/shared/_merge_requests.html.haml:2:in `each'
  app/views/shared/_merge_requests.html.haml:2:in `_app_views_shared__merge_requests_html_haml__2394174117831343598_70243800'
  app/views/dashboard/merge_requests.html.haml:13:in `_app_views_dashboard_merge_requests_html_haml__2551803723040075346_79916880'

The setup and status is the same as described in #5069 (closed)

Assignee
Assign to
Time tracking