Project

General

Profile

Actions

Defect #10881

closed

500 error when accessing repositories tab - configured svn repository

Added by vi palla almost 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 #1

Updated by vi palla almost 12 years ago

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
[2012-05-10 12:11:51] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2012-05-10 12:12:01] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2012-05-10 12:18:24] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true

Actions #2

Updated by Mischa The Evil almost 12 years ago

Any plugins? See submissions...

Actions #3

Updated by vi palla almost 12 years ago

Redmine version 1.4.1. ruby 1.9.3, gem 1.8.21, rails 3.2.2
In the trunk we pulled out version 9323 on 4/5 have redmine/vendor/plugins directory.. and we have added new plugin to it to add links to subversion repository.
Workflow and settings works fine except the repository tab.

Actions #4

Updated by Mischa The Evil almost 12 years ago

vi palla wrote:

Redmine version 1.4.1. ruby 1.9.3, gem 1.8.21, rails 3.2.2

Redmine 1.4.x doesn't support Rails 3.x AFAIK.

In the trunk we pulled out version 9323 on 4/5 have redmine/vendor/plugins directory..

Not sure what you exactly mean with this sentence. Why did you revert changeset r9323 (although it doesn't seem to be related)? And what do you mean with "on 4/5 have redmine/vendor/plugins directory"?

and we have added new plugin to it to add links to subversion repository.

This can be the culprit of your issue too...

Actions #5

Updated by Jean-Philippe Lang almost 12 years ago

  • Resolution set to Cant reproduce
Actions #6

Updated by vi palla almost 12 years ago

Redmine 1.4.x doesn't support Rails 3.x AFAIK.

Is it not supported for subversion?

Actions #7

Updated by Jean-Baptiste Barth about 11 years ago

  • Status changed from New to Closed
  • Priority changed from Urgent to Normal

vi palla wrote:

Redmine 1.4.x doesn't support Rails 3.x AFAIK.

Good catch, that might be related to the issue above. Please reproduce with a fresh 2.2.x or 2.3.x version and without any plugin and reopen if the problem still occurs. Thanks.

Actions

Also available in: Atom PDF