Bug 1554780

Summary: Drop Down List Dialog does not keep default value for Integer type in newer dialogs
Product: Red Hat CloudForms Management Engine Reporter: Yadnyawalk Tale <ytale>
Component: UI - OPSAssignee: Roman Blanco <rblanco>
Status: CLOSED DUPLICATE QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: bascar, cpelland, dajohnso, dclarizi, hkataria, lavenel, mpovolny, obarenbo, sshveta, ytale
Target Milestone: GAKeywords: Regression
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: dialog
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-27 10:50:52 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:
Attachments:
Description Flags
preview_and_order_page
none
integer default value for dropdown / radio button in the dialog none

Description Yadnyawalk Tale 2018-03-13 11:22:54 UTC
Created attachment 1407502 [details]
preview_and_order_page

Description of problem:
(Issue is with NEWER dialog editor)
The default value is not stored for a Dialog of type "Drop Down List" and "Radio button" with value "Integer". This is not a dynamic dialog. 

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

How reproducible:
Always

Steps to Reproduce:
1. Create a dialog with type "Drop Down List" and value "Integer"
2. Create 3 entries (1 => 1, 2 => 2, 3 =>3)
3. Set a default value either 1, 2, or 3

Actual results:
The default value is not stored in the dialog. Checked with Radio button and Dropdown by ordering dialogs.

Also noticed that dialog preview screen which is on endpoint '/miq_ae_customization/explorer' works however it does not work while ordering.

Expected results:
The default value should be stored in the dialog.

Additional info:
For type "Radio Button" and "Drop Down List" with value "String" the default value is stored correctly.

Comment 4 Roman Blanco 2018-03-21 09:19:45 UTC
Created attachment 1411060 [details]
integer default value for dropdown / radio button in the dialog

Hi Yadnyawalk,

I cannot reproduce the issue. I'm attaching a gif with steps I've done.
Can you take a look if I did something wrong?
Can you retest if the issue is still there?

Thanks, Roman

Comment 6 Roman Blanco 2018-03-23 15:56:23 UTC
*** Bug 1558284 has been marked as a duplicate of this bug. ***

Comment 7 Roman Blanco 2018-03-27 10:50:52 UTC

*** This bug has been marked as a duplicate of bug 1558702 ***