Project

General

Profile

Actions

Defect #10881

closed

500 error when accessing repositories tab - configured svn repository

Added by vi palla about 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Project settings
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

For a Project configured SVN repository. When accessing repositories tab gives the following error.

ActionView::TemplateError (undefined method `repository' for #<ActiveRecord::Associations::BelongsToAssociation:0x0000002353b790>) on line #3 of app/views/issues/_changesets.html.erb:
1: <% changesets.each do |changeset| >
2: <div class="changeset <
= cycle('odd', 'even') >">
3: <p><
= link_to_revision(changeset, changeset.repository,
4: :text => "#{l(:label_revision)} #{changeset.format_identifier}") ><br />
5: <span class="author"><
= authoring(changeset.committed_on, changeset.author) %></span></p>
6: <div class="wiki">

app/views/issues/_changesets.html.erb:3:in `block in _run_erb_app47views47issues47_changesets46html46erb_locals_changesets_object'
app/views/issues/_changesets.html.erb:1:in `each'
app/views/issues/_changesets.html.erb:1
app/views/issues/show.html.erb:110
app/controllers/issues_controller.rb:118:in `block (2 levels) in show'
app/controllers/issues_controller.rb:115:in `show'
&lt;internal:prelude&gt;:10:in `synchronize'
/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/usr/local/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

Rendering /opt/redmine/public/500.html (500 Internal Server Error)
[2012-05-10 12:11:49] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true

Actions

Also available in: Atom PDF