Bug 1581307 - When using dynamic multi select dialog elements the first element is always selected even if nil default is specified and it does not show up as selected in UI
Summary: When using dynamic multi select dialog elements the first element is always s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - Service
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.3
Assignee: eclarizi
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard:
Depends On: 1576288
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-22 13:35 UTC by Satoe Imaishi
Modified: 2022-07-09 09:53 UTC (History)
11 users (show)

Fixed In Version: 5.9.3.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1576288
Environment:
Last Closed: 2018-07-12 13:15:10 UTC
Category: ---
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 RHSA-2018:2184 0 None None None 2018-07-12 13:15:34 UTC

Comment 2 CFME Bot 2018-05-22 13:46:12 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/f7147ee4f2ab68a93bde0dd5341ed18fa0b78eac
commit f7147ee4f2ab68a93bde0dd5341ed18fa0b78eac
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon May 21 14:07:53 2018 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Mon May 21 14:07:53 2018 -0400

    Merge pull request #17449 from eclarizio/BZ1576288

    Adjust how default_value is calculated for multi-select drop downs
    (cherry picked from commit ad699eef42aa47d55bda205f583265a81f3691d0)

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

 app/models/dialog_field_drop_down_list.rb | 22 +
 app/models/dialog_field_sorted_item.rb | 3 -
 spec/models/dialog_field_drop_down_list_spec.rb | 56 +-
 spec/models/dialog_field_sorted_item_spec.rb | 23 -
 4 files changed, 76 insertions(+), 28 deletions(-)

Comment 3 Niyaz Akhtar Ansari 2018-06-08 23:28:16 UTC
Verified in Version 5.9.3.1.20180606184006_8d120c0

Comment 5 errata-xmlrpc 2018-07-12 13:15:10 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/RHSA-2018:2184


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