Bug 1534962 - Save button isn't activated when date is removed in VM "Set/Remove retirement date"
Summary: Save button isn't activated when date is removed in VM "Set/Remove retirement...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.10.0
Assignee: Milan Zázrivec
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks: 1553243
TreeView+ depends on / blocked
 
Reported: 2018-01-16 11:23 UTC by Radim Hrazdil
Modified: 2019-02-11 14:01 UTC (History)
8 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1553243 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:01:16 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Radim Hrazdil 2018-01-16 11:23:41 UTC
Description of problem:

Let's have a vm that is retired, navigate to the vm's "Set/Remove retirement date for Virtual Machine" page. 

When the "Retirement Date and Time" field is clicked, the date is removed, a date widget is displayed, but the save button is not activated.

I would expect 2 following behaviours:
1. When user selects "Retirement Date and Time", the date is cleared and the Save button is activated, so that when the date widget is closed, changes can be saved.

2. When user selects "Retirement Date and Time", the date remains the same, and when clearing the field manually or by clicking the thrash bin, the Save button is activated, so changes can be saved. 

The first case feels more natural.

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

How reproducible:
100%

Steps to Reproduce:
1. Navigat to Set/Remove retirement date for Virtual Machine of a retired VM
2. Select Retirement Date and Time field and close it by clicking anywhere outside the widget

Actual results:
Save button is not activated, but Date has been changed (removed).

Expected results:
Save button IS activated, so that changes can be saved

Additional info:
For exact steps you may refer to test cfme.tests.cloud_infra_common/test_retirement/test_resume_retired_instance

Comment 5 CFME Bot 2018-02-20 17:05:04 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/8fbf8359bb5ae9994a94023ca1adc468b52b2fca

commit 8fbf8359bb5ae9994a94023ca1adc468b52b2fca
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Mon Feb 19 17:59:06 2018 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Mon Feb 19 17:59:06 2018 +0100

    Support for vm / orch. stack / instance / service unretire
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1534962

 app/assets/javascripts/directives/datetimepicker.js | 6 ++++++
 1 file changed, 6 insertions(+)

Comment 7 Tasos Papaioannou 2018-07-10 19:24:30 UTC
Verified on 5.10.0.3.


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