Defect #14288

REST API - 500 Internal Server Error

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

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution:Invalid Affected version:2.3.1

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

History

#2 Updated by Etienne Massip over 8 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid

Also available in: Atom PDF