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

Closed
Open
Created Jan 21, 2012 by Administrator@rootOwner

error 500 on per-line-comment view

Created by: flixflax

I added a comment to a line of my diff. In project->activities the comment shows up as 'project wall' post. when I click on it, it opens up an url like https://myhost.xy/my_project/commits/0 and shows up an error 500.

Second thing is, that there is no button/link to remove a per-line-comment after it has been saved. Or am I wrong?

Code base is commit 3d7b35a3

Started GET "/my_project/commits/0" for [ip] at 2012-01-21 10:18:30 +0100
  Processing by CommitsController#show as HTML
  Parameters: {"project_id"=>"my_project", "id"=>"0"}
Completed 500 Internal Server Error in 36ms

NoMethodError (undefined method `id' for nil:NilClass):
  app/models/project.rb:170:in `commit_notes'
  app/controllers/commits_controller.rb:27:in `show'

Assignee
Assign to
Time tracking