Bug 1677258 - Boolean user input filter popup shows default field always as selected
Summary: Boolean user input filter popup shows default field always as selected
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.11.0
Assignee: Martin Hradil
QA Contact: Angelina Vasileva
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-14 11:54 UTC by Matouš Mojžíš
Modified: 2019-12-17 12:23 UTC (History)
8 users (show)

Fixed In Version: 5.11.0.18
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-12 13:35:26 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4199 0 None None None 2019-12-12 13:35:51 UTC

Description Matouš Mojžíš 2019-02-14 11:54:49 UTC
Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Create a filter with boolean user input.
2. Select that filter
3. Select True or False


Actual results:
Even when True or False is selected in that select bar "<Choose>" is displayed.
Logically is True or False selected as I can select "Apply" and filter is triggered correctly.

Expected results:


Additional info:

Comment 5 CFME Bot 2019-07-31 06:41:33 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/3c285dd167afb16022ea311d894666ad422c195d
commit 3c285dd167afb16022ea311d894666ad422c195d
Author:     Martin Hradil <mhradil>
AuthorDate: Tue Jul 30 09:52:07 2019 -0400
Commit:     Martin Hradil <mhradil>
CommitDate: Tue Jul 30 09:52:07 2019 -0400

    user_input_filter: Don't autofocus selects

    user input filter autofocuses the first input element,

    but pf-select hides the select element and creates its own div.
    That div never changes the text inside when chosing options, if the original select is focused.

    Making sure we don't autofocus select elements.

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

 app/views/layouts/_user_input_filter.html.haml | 7 +-
 1 file changed, 4 insertions(+), 3 deletions(-)

Comment 6 CFME Bot 2019-07-31 17:56:58 UTC
New commit detected on ManageIQ/manageiq-ui-classic/ivanchuk:

https://github.com/ManageIQ/manageiq-ui-classic/commit/92b70ccf7541eb5fe486732a2ca8f61e94ee7b3c
commit 92b70ccf7541eb5fe486732a2ca8f61e94ee7b3c
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Wed Jul 31 02:40:45 2019 -0400
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Wed Jul 31 02:40:45 2019 -0400

    Merge pull request #5906 from himdel/user-input-docus

    user_input_filter: Don't autofocus selects

    (cherry picked from commit 00fa111f87a19d8c18c71831cb6341b3b77fb10c)

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

 app/views/layouts/_user_input_filter.html.haml | 7 +-
 1 file changed, 4 insertions(+), 3 deletions(-)

Comment 7 Matouš Mojžíš 2019-08-15 09:13:32 UTC
Verified in 5.11.0.18. Selected field is displayed as selected in user input.

Comment 9 errata-xmlrpc 2019-12-12 13:35:26 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, 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/RHBA-2019:4199


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