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 #1

Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Needs feedback

Please read SubmittingBugs, we can't do anything with without things like your Redmine version.
Also make sure that you don't have local changes to your Redmine code base, as this "wrong number of arguments" error looks very suspicious.

Actions #2

Updated by Georg Pribil almost 9 years ago

Sorry, here's the environment:

Environment:
Redmine version 2.5.0.stable
Ruby version 1.9.3-p484 (2013-11-22) [x86_64-linux]
Rails version 3.2.17
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
event_notifications 2.0.0
greentube 0.0.1
redmine_backlogs v1.0.6
redmine_blocks_layout 0.0.2
redmine_issue_templates 0.0.8
redmine_my_page_queries 2.0.9
redmine_per_project_formatting 0.0.3
redmine_reminder 0.4
redmine_theme_changer 0.1.0

Actions #3

Updated by Georg Pribil almost 9 years ago

Alright, can be closed. we found the problem

Actions #4

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from Needs feedback to Closed
  • Priority changed from High to Normal
  • Resolution set to Invalid

Thank you for your feedback.

Actions

Also available in: Atom PDF