Description of problem: Multi-select tag_control values are not included in dialog information passed to automate. Steps to Reproduce: 1. Create a service dialog that contains a tag_control of a multi-select tag classification. 2. Create a simple service and specify dialog created in step 1. 3. Order service, specifying multiple values for tag. 4. Examine the miq_request table entry for the specified request id. The options hash contains the dialog values. miq_request options example: :dialog: Array::dialog_department: Classification::41 Array::dialog_tag_0_location: Classification::3 dialog_tag_0_test: fred_fred I ordered the service and selected Accounting, Automotive, Communication, Defense Systems. Classification id is for Accounting. Value passed to automate: Array::dialog_tag_0_department"=>"Classification::41"
Dan - Can you have someone take a look at this? The model code is expecting the value of the tag control to be set to a comma separated list of selected tag values. I added a debug log line and the dialog value is a single tag ID for the control with multiple items selected.
Pull Request https://github.com/ManageIQ/manageiq/pull/1622 created
Bugfix in master: commit b6a49ef20d5f06e40393d78057a1599a04417d61 Author: Jozef Zigmund <jzigmund> Date: Thu Feb 19 18:37:12 2015 +0100 miq_ujs_bindings.js: Added recognition of multiple select for 'data-miq_observe'
Verified in 5.4.0.0.19
Created attachment 1014949 [details] Options value Fixed. Verified in 5.4.0.0.19.20150410165622_ad23806
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://rhn.redhat.com/errata/RHBA-2015-1100.html