Project

General

Profile

Actions

Defect #14288

closed

REST API - 500 Internal Server Error

Added by Robson Peixoto over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Started GET "/issues/26.json" for 177.135.203.181 at 2013-06-14 14:27:01 -0300
Processing by IssuesController#show as JSON
  Parameters: {"id"=>"26"}
   (0.2ms)  SELECT MAX(`settings`.`updated_on`) AS max_id FROM `settings`
Completed 500 Internal Server Error in 2ms

ArgumentError (wrong number of arguments (3 for 2)):
  app/models/user.rb:157:in `try_to_login'
  app/controllers/application_controller.rb:113:in `block in find_current_user'
  app/controllers/application_controller.rb:112:in `find_current_user'
  app/controllers/application_controller.rb:87:in `user_setup'

# ruby script/about
/opt/redmine/config/initializers/bypass_ssl_verification.rb:2: warning: already initialized constant VERIFY_PEER

Environment:
  Redmine version                          2.3.1.stable
  Ruby version                             1.9.3 (x86_64-linux)
  Rails version                            3.2.13
  Environment                              production
  Database adapter                         Mysql2
Redmine plugins:
  redmine_backlogs                         v1.0.2
  redmine_contacts                         3.2.3-light
  redmine_issue_checklist                  2.0.5
  redmine_ldap_sync                        2.0.1
  redmine_my_roadmaps                      0.1.13_redmine2.3
  redmine_scm                              0.4.2
  redmine_zenedit                          0.0.1

Actions

Also available in: Atom PDF