Bug 1590949 - dialog can be submitted even if no value is selected in required multiselect
Summary: dialog can be submitted even if no value is selected in required multiselect
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.4
Assignee: drew uhlmann
QA Contact: Shveta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-13 17:37 UTC by drew uhlmann
Modified: 2018-08-09 18:28 UTC (History)
8 users (show)

Fixed In Version: 5.8.4.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-29 15:14:42 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Choose selected (76.27 KB, image/png)
2018-06-20 17:21 UTC, Shveta
no flags Details

Description drew uhlmann 2018-06-13 17:37:38 UTC
Description of problem: regression caused by fix of https://bugzilla.redhat.com/show_bug.cgi?id=1555487. 

With Fine dynamic dropdowns defaulting to have nothing selected, we now need stricter checks on the required flag to not allow those values to be submitted. 


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


How reproducible: evvvvery time. 


Steps to Reproduce:
1. order dialog with dynamic required multiselect dropdown
2.
3.

Actual results:
dialog can be ordered

Expected results:
dialog should not be able to be ordered

Additional info:

Comment 3 Dave Johnson 2018-06-13 17:43:01 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 4 Shveta 2018-06-20 17:21:19 UTC
Created attachment 1453248 [details]
Choose selected

This BZ is fixed in 5.8.4.5.20180618175258_5bee58a.
That is if the multiselect is required , it cannot be ordered without selecting a value.

However , I am seeing the original issue again now .
https://bugzilla.redhat.com/show_bug.cgi?id=1555487
Choose is selected as an item by default.see screenshot

Comment 5 Shveta 2018-06-20 17:21:57 UTC
Appliance : https://10.8.199.143/

Comment 7 Shveta 2018-06-20 21:54:15 UTC
Changed the dialog into dynamic dialog .
And "nothing selected " is displayed .
Verifying this one and opening a new one for Static dropdown :)


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