Actions
Defect #2339
closedCan not map redmine users to svn uses
Start date:
2008-12-15
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
I have important a mantis project with 126 users. The repository is subversion with only 6 committers. While trying to map the newly created Redmine users to the subversion committers, I get a "500 Internal Server Error" result. The exception is pasted below:
My Server Setup
Redmine 0.8 stable (current at of Dec. 14)
Ubuntu 8.04 32bit
Ruby 1.8.6
Rails 2.1.2
Mongrel 1.1.5
MySql 5.0.51a
Apache 2.2 mod_proxy
/!\ FAILSAFE /!\ Mon Dec 15 01:41:16 -0800 2008 Status: 500 Internal Server Error Conflicting types for parameter containers. Expected an instance of Hash but found an instance of Array. This can be caused by colliding Array and Hash parameters like qs[]=value&qs[key]=value. (The parameters received were [""].) /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:725:in `type_conflict!' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:687:in `container' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:678:in `post_key_check' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:654:in `parse' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:641:in `initialize' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:641:in `each' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:641:in `initialize' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:444:in `new' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:444:in `parse_query_parameters' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:401:in `parse_formatted_request_parameters' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/cgi_process.rb:80:in `request_parameters' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:307:in `parameters' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:22:in `request_method' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/request.rb:35:in `method' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:432:in `extract_request_environment' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:385:in `recognize' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:148:in `handle_request' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:107:in `dispatch' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `synchronize' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `dispatch' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi' /var/lib/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:35:in `dispatch' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in `process_client' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `each' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `process_client' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `initialize' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `new' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `initialize' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `new' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:282:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `each' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run' /var/lib/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 /usr/bin/mongrel_rails:16:in `load' /usr/bin/mongrel_rails:16
Updated by Jean-Philippe Lang almost 16 years ago
- Status changed from New to Closed
- Target version set to 0.8
- Resolution set to Fixed
I was able to reproduce with a blank committer username in the repository.
It's fixed in r2137. Thanks for pointing this out.
Updated by Brad Schick almost 16 years ago
Thanks. Will this make it into the 0.8 branch or should I copy the patch from trunk?
Updated by Jean-Philippe Lang almost 16 years ago
It's now merged in 0.8-stable branch (r2138).
Actions