Project

General

Profile

Actions

Defect #9904

closed

500 Internal Server Error when Issues->filter by custom field of type list.

Added by Mike Dubman over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Happens with redmine 1.3.0 (from bitnami stack)

Processing IssuesController#index (for 172.22.237.54 at 2012-01-02 19:53:03) [GET]
  Parameters: {"v"=>{"cf_26"=>["QA"]}, "op"=>{"cf_26"=>"="}, "group_by"=>"", "project_id"=>"mxm", "set_filter"=>"1", "c"=>["project", "parent", "status", "priority", "subject", "assigned_to", "category", "fixed_version", "due_date", "done_ratio"], "action"=>"index", "f"=>["cf_26", ""], "controller"=>"issues"}

ArgumentError (wrong number of arguments (6 for 5)):
  app/models/query.rb:647:in `sql_for_field'
  app/models/query.rb:647:in `sql_for_custom_field'
  app/models/query.rb:513:in `statement'
  app/models/query.rb:493:in `each_key'
  app/models/query.rb:493:in `statement'
  app/models/query.rb:531:in `issue_count'
<pre>
  app/controllers/issues_controller.rb:82:in `index'
</pre>
  config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

Rendering /opt/redmine-1.3.0-0/apps/redmine/public/500.html (500 Internal Server Error)

Files

query.rb (31 KB) query.rb Mike Dubman, 2012-01-04 09:28
Actions

Also available in: Atom PDF