Bug 1706848

Summary: Not able to set specific dates and time in for timepicker in service dialog
Product: Red Hat CloudForms Management Engine Reporter: Niyaz Akhtar Ansari <nansari>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.4CC: bmidwood, dmetzger, hkataria, jprause, lavenel, mfeifer, mpovolny, mshriver, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.8Flags: simaishi: cfme-5.11.z+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.8.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1712462 (view as bug list) Environment:
Last Closed: 2020-09-30 14:01:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1712462    
Attachments:
Description Flags
TimePicker_dialog_page_before_save
none
dialog details page
none
edit_dialog none

Description Niyaz Akhtar Ansari 2019-05-06 11:53:55 UTC
Created attachment 1564382 [details]
TimePicker_dialog_page_before_save

Description of problem:


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


How reproducible:
100%

Steps to Reproduce:
1.Create a dialog with timepicker
2.Select specific dates and time, Save
3.Go to the service dialog details page(It shows the different date and timing)
4.Edit the dialog (It shows the old dates and time(default date))

Actual results:


Expected results:
We should able to set specific dates and time in timepicker

Additional info:

Comment 2 Niyaz Akhtar Ansari 2019-05-06 11:54:47 UTC
Created attachment 1564383 [details]
dialog details page

Comment 3 Niyaz Akhtar Ansari 2019-05-06 11:55:12 UTC
Created attachment 1564384 [details]
edit_dialog

Comment 8 Niyaz Akhtar Ansari 2019-06-14 11:19:17 UTC
Issue is still present in Version 5.11.0.8 as well 

https://bugzilla.redhat.com/show_bug.cgi?id=1712462#c3

Comment 10 Milan Zázrivec 2020-06-11 13:05:01 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/7121

https://github.com/ManageIQ/ui-components/pull/373 -- this needs to be cherry-picked into ivanchuk.

Comment 11 CFME Bot 2020-06-15 14:30:51 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/3f7eddf6748a1c508660ccc7081c0ec9a1c9d7c9
commit 3f7eddf6748a1c508660ccc7081c0ec9a1c9d7c9
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Thu Jun 11 12:54:47 2020 +0000
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Mon Jun 15 10:21:38 2020 +0000

    Allow to select whole hour in dialog sample screen

    https://bugzilla.redhat.com/show_bug.cgi?id=1706848

 app/views/miq_ae_customization/_dialog_sample.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 12 Milan Zázrivec 2020-06-19 11:33:05 UTC
Back to ON_DEV, since we still need ivanchuk backport & roll out new versions
of ui-components.

Comment 13 CFME Bot 2020-08-20 13:05:56 UTC
New commit detected on ManageIQ/manageiq-ui-classic/ivanchuk:

https://github.com/ManageIQ/manageiq-ui-classic/commit/12523370d32b662bffa8860823b48e2f96509f6e
commit 12523370d32b662bffa8860823b48e2f96509f6e
Author:     Martin Hradil <mhradil>
AuthorDate: Mon Jun 15 14:29:26 2020 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Aug 20 13:05:10 2020 +0000

    Merge pull request #7121 from mzazrivec/allow_to_select_full_hour_in_dialog_sample_screen

    Allow to select whole hour in dialog sample screen

    (cherry picked from commit 6967ad8e85931080d1acd9a6c6a94cb069edfca9)

    https://bugzilla.redhat.com/show_bug.cgi?id=1706848

 app/views/miq_ae_customization/_dialog_sample.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 14 CFME Bot 2020-08-20 13:06:40 UTC
New commit detected on ManageIQ/ui-components/ivanchuk:

https://github.com/ManageIQ/ui-components/commit/8660c6fb47a725f3fefb676bdfbd45fa2ab83f80
commit 8660c6fb47a725f3fefb676bdfbd45fa2ab83f80
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Sep 12 14:10:20 2019 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Aug 20 13:01:38 2020 +0000

    Merge pull request #373 from romanblanco/bz1686077

    Allow setting default value for date/time picker in Dialog Editor modal

    (cherry picked from commit 8811c766d812d37d91cf89f5b455999d81bf20c6)

    https://bugzilla.redhat.com/show_bug.cgi?id=1686077
    https://bugzilla.redhat.com/show_bug.cgi?id=1706848

 src/dialog-editor/components/field/field.html | 37 +-
 src/dialog-editor/components/modal-field-template/date-control.html | 115 +
 src/dialog-editor/components/modal-field-template/date-time-control.html | 23 +
 src/dialog-editor/components/modal-field-template/modalFieldTemplateComponent.ts | 3 +-
 src/dialog-editor/components/modal-field/field.html | 2 +-
 5 files changed, 170 insertions(+), 10 deletions(-)

Comment 15 Niyaz Akhtar Ansari 2020-09-10 07:33:11 UTC
Verified in Version 5.11.8.0.20200908214813_b3cc53d

Comment 20 errata-xmlrpc 2020-09-30 14:01:06 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 (Moderate: CloudForms 5.0.8 security, bug fix and enhancement update), 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://access.redhat.com/errata/RHSA-2020:4134