Project

General

Profile

Actions

Defect #20234

closed

time_entries.json returns error 500, Invalid Argumends

Added by Georg Pribil almost 9 years ago. Updated almost 9 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Started GET "/time_entries.xml?offset=0&limit=30" for 172.28.0.11 at 2015-07-03 14:08:28 +0200
Processing by TimelogController#index as XML
  Parameters: {"offset"=>"0", "limit"=>"30"}
  ^[[1m^[[35m (0.1ms)^[[0m  SELECT MAX(`settings`.`updated_on`) AS max_id FROM `settings`
  ^[[1m^[[36mUser Load (1.0ms)^[[0m  ^[[1mSELECT `users`.* FROM `users` WHERE `users`.`type` IN ('User', 'AnonymousUser') AND `users`.`login` = 'georg'^[[0m
  ^[[1m^[[35mSQL (3.5ms)^[[0m  UPDATE `users` SET `last_login_on` = '2015-07-03 14:08:28' WHERE `users`.`type` IN ('User', 'AnonymousUser') AND `users`.`id` = 423
  Current user: georg (id=423)
Completed 500 Internal Server Error in 9.0ms

ArgumentError (wrong number of arguments (2 for 3)):
  app/models/query.rb:341:in `add_filter'
  app/models/time_entry_query.rb:35:in `initialize'
  app/models/query.rb:232:in `new'
  app/models/query.rb:232:in `build_from_params'
  app/controllers/timelog_controller.rb:45:in `index'

This is currently a Blocker for one of our projects

Actions

Also available in: Atom PDF