Bug 1406944

Summary: SSUI: Unable to save a blank retirement date to remove previously saved retirement date
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - ServiceAssignee: Josh Langholtz <jlanghol>
Status: CLOSED CURRENTRELEASE QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: ckacergu, dclarizi, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ssui
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1415754 (view as bug list) Environment:
Last Closed: 2017-06-12 16:40:59 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: 1415754    

Description Nandini Chandra 2016-12-21 22:42:39 UTC
Description of problem:
-----------------------
SSUI doesn't allow you to save a blank retirement date to remove previously saved retirement date for a service.The admin UI allows you to do that.

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


How reproducible:
----------------
Always


Steps to Reproduce:
-------------------
1.Provision a service on SSUI.
2.Select the service from 'My Services'.
3.Click the 'Retire' button.Then click 'Schedule Retirement'.Try to save a blank date.


Actual results:
---------------
SSUI doesn't allow you to save a blank retirement date to remove previously saved retirement date for a service.


Expected results:
----------------
SSUI should allow you to save a blank retirement date to remove previously saved retirement date for a service.


Additional info:
---------------

Comment 3 CFME Bot 2017-01-23 15:07:50 UTC
New commit detected on ManageIQ/manageiq-ui-service/master:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/97893f477781a22ec34b1a6c339ac6dd8f5a9b4d

commit 97893f477781a22ec34b1a6c339ac6dd8f5a9b4d
Author:     Josh Langholtz <jjlangholtz>
AuthorDate: Mon Jan 23 09:33:01 2017 -0500
Commit:     Josh Langholtz <jjlangholtz>
CommitDate: Mon Jan 23 09:33:01 2017 -0500

    Add clear button to retire service modals
    
    Adds a clear button to the bootstrap datepicker for the retire service
    modals. This allows a user to remove a previously set retirement date.
    
    Note that this will only work if you actually click the clear button, if
    you simply delete the previous input and then click save, the previous
    selected value from the datepicker will be submitted.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1406944
    
    A separate PR will be made for Euwe since there will likely be
    conflicts.

 .../retire-service-modal-service.factory.js           | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Comment 5 Nandini Chandra 2017-03-15 20:35:53 UTC
Verified in 5.8.0.4