Actions
Defect #8454
closedUpdating Version with Date fails with Error 500
Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-05-27
Due date:
% Done:
0%
Estimated time:
Resolution:
No feedback
Affected version:
Description
RM 1.1.3, Postgres.
Clicking Project --> Settings --> Versions --> Edit (on a Version with no assigned date) and setting the date leads to the attached error.
Changing Version's properties other than Date seems to work fine. The Version has issues assigned to it (including subtasks).
Processing VersionsController#update (for 192.168.2.26 at 2011-05-27 13:19:22) [PUT] Parameters: {"commit"=>"Save", "project_id"=>"myproject", "action"=>"update", "_method"=>"put", "authenticity_token"=>"12345", "id"=>"19", "version"=>{"name"=>"My Milestone 2", "wiki_page_title"=>"", "effective_date"=>"2011-05-31", "description"=>"New Milestone", "status"=>"open", "sharing"=>"descendants"}, "controller"=>"versions"} ArgumentError (comparison of Array with Array failed): app/controllers/versions_controller.rb:109:in `update' passenger (3.0.7) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' passenger (3.0.7) lib/phusion_passenger/utils.rb:479:in `safe_fork' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:180:in `start' passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.7) helper-scripts/passenger-spawn-server:99 Rendering /usr/local/www/redmine/public/500.html (500 Internal Server Error)
Actions