I'm adding proper bug description for the sanity of everyone reading this bug report. Description of problem: An error occurs when clicking on a service dialog with tag control in an explorer tree. Version-Release number of selected component (if applicable): CFME 5.11.5 How reproducible: Always Steps to reproduce: 1. Automation > Automate > Customization > Service Dialogs 2. Create a new dialog, add just one field: Tag Control, select a valid category 3. Save the service dialog 4. Click on the newly created dialog in explorer tree 5. See the following error in application logs: FATAL -- : Error caught: [ActionView::Template::Error] private method `multiselect?' called for #<DialogFieldTagControl:0x00007ff8c0337848> .rbenv/versions/2.5.5/lib/ruby/gems/2.5.0/gems/activemodel-5.1.7/lib/active_model/attribute_methods.rb:429:in `method_missing' manageiq-ui-classic.ivanchuk/app/views/miq_ae_customization/_dialog_sample.html.haml:98 ... Actual results: The error above. Expected results: No error, the explorer tree click should work nicely. Additional info: The issue is currently present in 5.11 only, it's fixed in master with https://github.com/ManageIQ/manageiq/pull/19696 and the true fix here is to backport the PR to ivanchuk.
https://github.com/ManageIQ/manageiq/pull/19696
New commit detected on ManageIQ/manageiq/ivanchuk: https://github.com/ManageIQ/manageiq/commit/2bfe6d2aea2a2f2716e744ba847532a7261ee021 commit 2bfe6d2aea2a2f2716e744ba847532a7261ee021 Author: Brandon Dunne <bdunne> AuthorDate: Mon Jan 13 19:24:08 2020 +0000 Commit: Satoe Imaishi <simaishi> CommitDate: Thu Jun 18 19:55:08 2020 +0000 Merge pull request #19696 from himdel/dialog-tag-multi DialogFieldTagControl - don't add <None> for multiselects (cherry picked from commit 9ce9b3df7565a7fe4ad64494e348841f4ada98e0) https://bugzilla.redhat.com/show_bug.cgi?id=1834219 app/models/dialog_field_tag_control.rb | 6 +- spec/models/dialog_field_tag_control_spec.rb | 19 +- 2 files changed, 21 insertions(+), 4 deletions(-)
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 (Critical: CloudForms 5.0.7 bug fix and enhancement update), 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-2020:3358