Bug 1435735

Summary: Unable to save automation task schedule using eastern time zone
Product: Red Hat CloudForms Management Engine Reporter: Jeffrey Cutter <jcutter>
Component: UI - OPSAssignee: Dan Clarizio <dclarizi>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, hkataria, jhardy, mpovolny, nansari, ncatling, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: timezone:schedule
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1440318 1440401 (view as bug list) Environment:
Last Closed: 2018-03-06 14:51:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1440318, 1440401    

Description Jeffrey Cutter 2017-03-24 15:50:26 UTC
Description of problem:

Unable to save automation task schedule using eastern time zone.  Was able to save using UTC, but then couldn't update to use eastern.  Was also able to save using Hawaii.


Version-Release number of selected component (if applicable):

Verified this on 5.7.1.3 in two separate environments.


How reproducible:

Every time.

Steps to Reproduce:
1. Create a schedule for "Automate Tasks" using System/Process "Automation".
2. Select eastern time zone on an appliance configured for eastern time zone.
3. Click save.

Actual results:

Save doesn't return to previous screen.  Changes are not saved.

Expected results:

Should save and return to previous screen with schedule being created or updated.

Additional info:

Comment 4 CFME Bot 2017-04-07 09:48:19 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/519e6b0892ec2e1eefa8a4d3c575a060e7e0c8b2

commit 519e6b0892ec2e1eefa8a4d3c575a060e7e0c8b2
Author:     Eric Hayes <eric>
AuthorDate: Thu Apr 6 15:29:15 2017 -0700
Commit:     Eric Hayes <eric>
CommitDate: Thu Apr 6 15:29:15 2017 -0700

    Avoid decoding the timezone, otherwise the ampersand will split the value.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1435735

 .../javascripts/controllers/schedule/schedule_form_controller.js      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 7 Niyaz Akhtar Ansari 2017-10-25 10:50:02 UTC
Verified in Version 5.9.0.2.20171010190026_0413a06