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

Closed
Open
Created Mar 11, 2013 by Administrator@rootOwner

Error 500 on commit note/coment page

Created by: arabek

Started GET "/redacted/notes.js?target_type=merge_request&target_id=1111&_=1362988337509" for 127.0.0.1 at 2013-03-11 10:22:54 +0100
Processing by NotesController#index as JS
  Parameters: {"target_type"=>"merge_request", "target_id"=>"1111", "_"=>"1362988337509", "project_id"=>"redacted"}
  Rendered notes/_note.html.haml (21.5ms)
  Rendered notes/_discussion_reply_button.html.haml (0.3ms)
  Rendered notes/_discussion.html.haml (66.5ms)
  Rendered notes/_discussion.html.haml (207.4ms)
  Rendered notes/_notes.html.haml (274.5ms)
  Rendered notes/index.js.haml (274.8ms)
Completed 500 Internal Server Error in 418ms

ActionView::Template::Error (undefined method `b_path' for nil:NilClass):
    24:       - elsif note.for_commit?
    25:         started a discussion on commit
    26:         #{link_to note.noteable.short_id, project_commit_path(@project, note.noteable)}
    27:         = link_to_commit_diff_line_note(note) if note.for_diff_line?
    28:       - else
    29:         %cite.cgray started a discussion
    30:     %div
  app/models/note.rb:86:in `diff_file_name'
  app/helpers/notes_helper.rb:15:in `link_to_commit_diff_line_note'
  app/views/notes/_discussion.html.haml:27:in `_app_views_notes__discussion_html_haml__480790525622863144_41566020'
  app/views/notes/_notes.html.haml:7:in `block in _app_views_notes__notes_html_haml___4583095933066086390_41473780'
  app/views/notes/_notes.html.haml:2:in `each'
  app/views/notes/_notes.html.haml:2:in `_app_views_notes__notes_html_haml___4583095933066086390_41473780'
  app/views/notes/index.js.haml:2:in `_app_views_notes_index_js_haml___3538677135606638384_41218720'
  app/controllers/notes_controller.rb:17:in `index'

@4.2-stable branch

Assignee
Assign to
Time tracking