Bug 1207859 - UI: Trying to edit a Report Schedule, get exception [ArgumentError] wrong number of arguments (1 for 0)
Summary: UI: Trying to edit a Report Schedule, get exception [ArgumentError] wrong num...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.0
Assignee: Aparna Karve
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-31 21:39 UTC by Dan Clarizio
Modified: 2015-06-16 12:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:56:29 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Dan Clarizio 2015-03-31 21:39:36 UTC
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:

Comment 1 CFME Bot 2015-04-02 16:40:53 UTC
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(-)

Comment 3 Nandini Chandra 2015-04-29 21:23:59 UTC
Verified in 5.4.0.0.23

Comment 5 errata-xmlrpc 2015-06-16 12:56:29 UTC
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


Note You need to log in before you can comment on or make changes to this bug.