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'