Actions
Defect #10827
closedCannot access Repositories page and Settings in a Project - Error 500
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
I had 2 repositories in a project
- 1 svn
- 1 local
I added a new git as default and this happened.
Since then I'm unable to access Repositories and Settings page of the project
Processing ProjectsController#settings (for 10.253.6.23 at 2012-05-03 21:35:28) [GET]
Parameters: {"controller"=>"projects", "action"=>"settings", "id"=>"my_project"}
Rendering template within layouts/base
Rendering projects/settings
ActionView::TemplateError (undefined method `<=>' for nil:NilClass) on line #13 of app/views/projects/settings/_repositories.html.erb:
10: </tr>
11: </thead>
12: <tbody>
13: <% @project.repositories.sort.each do |repository| %>
14: <tr class="<%= cycle 'odd', 'even' %>">
15: <td><%=h repository.scm_name %></td>
16: <td><%=h repository.identifier %></td>
app/models/repository.rb:144:in `<=>'
app/views/projects/settings/_repositories.html.erb:13
app/views/common/_tabs.html.erb:24
app/views/common/_tabs.html.erb:23:in `each'
app/views/common/_tabs.html.erb:23
app/helpers/application_helper.rb:231:in `render_tabs'
app/views/projects/settings.html.erb:3
config/initializers/mongrel.rb:62:in `dispatch_cgi'
Rendering C:/Ruby/Apps/redmine/public/500.html (500 Internal Server Error)
Updated by Jean-Philippe Lang over 13 years ago
- Status changed from New to Closed
- Target version set to 1.4.2
- Resolution set to Fixed
Actions