Description of problem: Exception raised trying to edit a Report Schedule Version-Release number of selected component (if applicable): 5.4.0 How reproducible: Edit a Report Schedule Actual results: [----] I, [2015-03-31T14:30:38.429479 #14372:d47e98] INFO -- : Started POST "/report/x_button/10000000000055?pressed=miq_report_schedule_edit" for 127.0.0.1 at 2015-03-31 14:30:38 -0700 [----] I, [2015-03-31T14:30:38.456282 #14372:d47e98] INFO -- : Processing by ReportController#x_button as JS [----] I, [2015-03-31T14:30:38.456395 #14372:d47e98] INFO -- : Parameters: {"pressed"=>"miq_report_schedule_edit", "id"=>"10000000000055"} [----] F, [2015-03-31T14:30:38.572517 #14372:d47e98] FATAL -- : Error caught: [ArgumentError] wrong number of arguments (1 for 0) /home/dclarizio/dev/manageiq/vmdb/app/helpers/application_helper.rb:1761:in `to_time' /home/dclarizio/dev/manageiq/vmdb/app/helpers/application_helper.rb:1761:in `set_edit_timer_from_schedule' /home/dclarizio/dev/manageiq/vmdb/app/controllers/report_controller/schedules.rb:364:in `schedule_set_form_vars' Expected results: No error, allowed to edit Additional info:
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/7bfa9e9e00b7938e9410498c9c5ca4cbcf50881a commit 7bfa9e9e00b7938e9410498c9c5ca4cbcf50881a Author: Aparna Karve <akarve> AuthorDate: Tue Mar 31 15:34:11 2015 -0700 Commit: Aparna Karve <akarve> CommitDate: Wed Apr 1 16:29:14 2015 -0700 Fixed the UTC conversion for start_time Used .utc to convert start_time (which is of type Time) to UTC https://bugzilla.redhat.com/show_bug.cgi?id=1207859 vmdb/app/helpers/application_helper.rb | 2 +- vmdb/spec/helpers/application_helper_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Verified in 5.4.0.0.23
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1100.html