Actions
Defect #64
closedpostgres error
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
Creating a query specifying "updated" less than 30 days ago return an error:
Processing ProjectsController#list_issues (for 10.3.41.165 at 2007-05-29 11:45:00) [GET] Session ID:
d4068081714490230ecda1de4cfa31d2 Parameters: {"action"=>"list_issues",
"id"=>"1", "controller"=>"projects"}
NoMethodError (undefined method `usec' for #<Date: 4908439/2,0,2299161>):
/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:129:in `quoted_date'
/app/models/query.rb:211:in `statement'
/app/models/query.rb:173:in `each_key'
/app/models/query.rb:173:in `statement'
/app/controllers/projects_controller.rb:262:in `list_issues'
PostgreSQL version 8.1.4
Updated by Jean-Philippe Lang over 17 years ago
Thanks.
Fix committed in rev 554.
Actions