Project

General

Profile

Sumit Issue Error when fill in field "Spent time" » time_spent_fail.txt

Panuwat Tiptunyathorn, 2011-03-04 06:27

 
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2

    
3
Processing IssuesController#update (for 172.17.2.188 at 2011-03-03 16:17:01) [PUT]
4
  Parameters: {"time_entry"=>{"billed_hours"=>"", "comments"=>"", "end_minute"=>"0", "activity_id"=>"9", "start_hour"=>"9", "start_minute"=>"0", "hours"=>"8.00", "end_hour"=>"17"}, "commit"=>"Submit", "notes"=>"", "action"=>"update", "_method"=>"put", "authenticity_token"=>"1XExCMGyc330cAeWvNFE2B1THTivYY96wzUEUUlKVSo=", "id"=>"33", "issue"=>{"start_date"=>"2011-03-02", "estimated_hours"=>"4", "priority_id"=>"5", "parent_issue_id"=>"", "lock_version"=>"4", "assigned_to_id"=>"4", "subject"=>"Modify Document for install new CR", "tracker_id"=>"1", "due_date"=>"2011-03-02", "status_id"=>"5", "description"=>"Modify Document for install new CR."}, "controller"=>"issues", "attachments"=>{"1"=>{"description"=>""}}}
5

    
6
NoMethodError (super: no superclass method `spent_on=' for #<TimeEntry:0xb5ff6cb0>):
7
  app/models/time_entry.rb:68:in `spent_on='
8
  app/models/issue.rb:542:in `save_issue_with_child_records'
9
  app/models/issue.rb:536:in `save_issue_with_child_records'
10
  app/controllers/issues_controller.rb:169:in `update'
11

    
12
Rendering /opt/redmine-1.1.0-0/apps/redmine/public/500.html (500 Internal Server Error)
(2-2/2)