500 error on project page
Created by: nikolaykasyanov
After upgrading from 21b31a67 to 4b06d82f (with db migration of course) new problem appeared: 500 error on project page.
Here is related part of log:
Started GET "/catalog" for 10.0.2.2 at 2012-01-20 18:22:14 +0400
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"catalog"}
Rendered projects/_project_head.html.haml (4.6ms)
Rendered projects/_feed.html.haml (19.4ms)
Rendered projects/_feed.html.haml (0.8ms)
Rendered projects/_feed.html.haml (1.5ms)
Rendered projects/show.html.haml within layouts/project (29.2ms)
Completed 500 Internal Server Error in 113ms
ActionView::Template::Error (invalid string: 1400):
7: %strong= update.author_name
8: = time_ago_in_words(update.created_at)
9: ago
10: - noteable = update.target
11: - if noteable.kind_of?(MergeRequest)
12: .title-block
13: %span.update-title
app/models/repository.rb:98:in `commit'
app/models/project.rb:74:in `commit'
app/models/note.rb:51:in `target'
app/views/projects/_feed.html.haml:10:in `_app_views_projects__feed_html_haml__168214030__623070388'
app/views/projects/show.html.haml:7:in `block in _app_views_projects_show_html_haml__468304673__622115658'
app/views/projects/show.html.haml:6:in `each'
app/views/projects/show.html.haml:6:in `_app_views_projects_show_html_haml__468304673__622115658'
This problem affects only one of projects
UPD: After backing up to 21b31a67 problem is still here. May it's some content (commit or wall message) brakes dashboard rendering?