Project

General

Profile

Help with Revision Issue on Webinterface

Added by Kilian Krockauer about 13 years ago

Hey there, I have a problem of which I cant get any solution yet, nor have any idea why this is happening.

When I create a brand new SVN-Repository and bind it to a project, everything is okay, but when I do a Commit to that repository, the screen I attached to this post shows up. Revision : '#' without any number. If I commit another time, I get the Error 500 Message from Redmine. If I commit to imported Projects, which already have an repo, everything works just fine. Am I missing an important step in the creation process of new Projects? By the way, Checkouts still work fine with these projects, they just can't be viewed via the Webinterface.

p.s.: the Autor isn't blank, I just deleted the entry there.

help.png (8.79 KB) help.png The view on my repo from web

Replies (3)

RE: Help with Revision Issue on Webinterface - Added by Kilian Krockauer about 13 years ago

I'm providing the log information now, excuse me.

ActionView::TemplateError (undefined method `identifier' for #<Changeset:0xb66f8f40>) on line #17 of app/views/repositories/_revisions.rhtml:
14: <% revisions.each do |changeset| %>
15: <tr class="changeset <%= cycle 'odd', 'even' %>">
16: <td class="id"><%= link_to_revision(changeset, project) %></td>
17: <td class="checkbox"><%= radio_button_tag('rev', changeset.identifier, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %></td>
18: <td class="checkbox"><%= radio_button_tag('rev_to', changeset.identifier, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
19: <td class="committed_on"><%= format_time(changeset.committed_on) %></td>
20: <td class="author"><%=h changeset.author %></td>
    app/views/repositories/_revisions.rhtml:17:in `_run_rhtml_app47views47repositories47_revisions46rhtml_locals_entry_object_path_project_revisions'
    app/views/repositories/_revisions.rhtml:14:in `each'
    app/views/repositories/_revisions.rhtml:14:in `_run_rhtml_app47views47repositories47_revisions46rhtml_locals_entry_object_path_project_revisions'
    app/views/repositories/_revisions.rhtml:1:in `_run_rhtml_app47views47repositories47_revisions46rhtml_locals_entry_object_path_project_revisions'
    app/views/repositories/show.rhtml:17:in `_run_rhtml_app47views47repositories47show46rhtml'
    app/controllers/repositories_controller.rb:86:in `show'
    passenger (3.0.4) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
    passenger (3.0.4) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
    passenger (3.0.4) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
    passenger (3.0.4) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
    passenger (3.0.4) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
    passenger (3.0.4) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
    passenger (3.0.4) lib/phusion_passenger/utils.rb:479:in `safe_fork'
    passenger (3.0.4) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
    passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
    passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
    passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
    passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:180:in `start'
    passenger (3.0.4) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
    passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
    passenger (3.0.4) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
    passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
    passenger (3.0.4) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
    passenger (3.0.4) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
    passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
    passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
    passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
    passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
    passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
    passenger (3.0.4) helper-scripts/passenger-spawn-server:99
Rendering /var/www/redmine/public/500.html (500 Internal Server Error)

RE: Help with Revision Issue on Webinterface - Added by Kilian Krockauer about 13 years ago

Furthermore, the error delivered by apache:

[Tue May 10 15:10:20 2011] [error] [client 192.168.129.22] Could not fetch resource information.  [500, #0]
[Tue May 10 15:10:20 2011] [error] [client 192.168.129.22] Could not open a revision root.  [500, #160006]
[Tue May 10 15:10:20 2011] [error] [client 192.168.129.22] No such revision 1  [500, #160006]
svn: No such revision 1

RE: Help with Revision Issue on Webinterface - Added by Kilian Krockauer about 13 years ago

Hello everyone, I managed to solve this problem by myself: I had done some changes to changeset.rb and other files within Redmine due to some Bugs, which I fixed with help of some Ticket-Solvations here. But I did those Changes in Redmine-1.0.5, and plain (and dumb) copied the changed files to my new Redmine-1.1.2. This - of course - wouldn't work at all.

    (1-3/3)