"View differences" does not work with trunk
Added by Billy T over 13 years ago
"View differences" does not work with trunk 1.1.2.devel.5212
Replies (2)
RE: "View differences" does not work with trunk - Added by Billy T over 13 years ago
Here is the exception info:
A ActionView::TemplateError occurred in repositories#diff: undefined method `keys' for #<Redmine::DiffTable:0xb568aec4> On line #38 of app/views/common/_diff.rhtml 35: </thead> 36: <tbody> 37: <% prev_line_left, prev_line_right = nil, nil -%> 38: <% table_file.keys.sort.each do |key, line| %> 39: <% if prev_line_left && prev_line_right && (table_file[key].nb_line_left != prev_line_left+1) && (table_file[key].nb_line_right != prev_line_right+1) -%> 40: <tr class="spacing"> 41: <th class="line-num">...</th><th class="line-num">...</th><td></td> app/views/common/_diff.rhtml:38:in `_run_rhtml_app47views47common47_diff46rhtml_locals_diff_diff_type_object' app/views/common/_diff.rhtml:2:in `each' app/views/common/_diff.rhtml:2:in `_run_rhtml_app47views47common47_diff46rhtml_locals_diff_diff_type_object' app/views/repositories/diff.rhtml:12:in `_run_rhtml_app47views47repositories47diff46rhtml' app/views/repositories/diff.rhtml:11:in `_run_rhtml_app47views47repositories47diff46rhtml' passenger (3.0.2) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.2) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.2) helper-scripts/passenger-spawn-server:99