Description of problem: The modal for the tag control widget on a service dialog displays the wrong entities list for the selected catalog Version-Release number of selected component (if applicable): 5.10.0.22.20181030184024_26956a0 How reproducible: 100% Steps to Reproduce: 1. Create new service dialog, or edit existing 2. Include tag control widget in the form 3. View tag control options 4. On resulting modal, go to 'Options' tab 5. Note entities list is already populated with locations 6. select 'Location' for category 7. Note workloads are listed in entities Actual results: The entities list on the modal displays the _next_ category in the list instead of the currently selected one Expected results: The relevant entities for the selected catalog are displayed Additional info:
Looks like a UI issue to me, there's a JS console error present.
https://github.com/ManageIQ/ui-components/pull/new/fix_tag_control_entries
https://github.com/ManageIQ/ui-components/pull/358
New commit detected on ManageIQ/ui-components/master: https://github.com/ManageIQ/ui-components/commit/9722cdf1163be1e36dd5a550bc020cc1433ea521 commit 9722cdf1163be1e36dd5a550bc020cc1433ea521 Author: Martin Povolny <mpovolny> AuthorDate: Wed Dec 12 09:02:56 2018 -0500 Commit: Martin Povolny <mpovolny> CommitDate: Wed Dec 12 09:02:56 2018 -0500 Fix lodash "find" call in currentCategoryEntries. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1649527 src/dialog-editor/components/modal/modalComponent.ts | 5 +- 1 file changed, 3 insertions(+), 2 deletions(-)
New commit detected on ManageIQ/ui-components/hammer: https://github.com/ManageIQ/ui-components/commit/d312e4e7fb58f40c76b4b018e7591148829fa2a9 commit d312e4e7fb58f40c76b4b018e7591148829fa2a9 Author: Martin Hradil <himdel> AuthorDate: Wed Dec 12 10:08:31 2018 -0500 Commit: Martin Hradil <himdel> CommitDate: Wed Dec 12 10:08:31 2018 -0500 Merge pull request #358 from ManageIQ/fix_tag_control_entries Fix lodash "find" call in currentCategoryEntries. (cherry picked from commit 0ab3d77f20f18ee14d621e09090342dbbc3d671d) https://bugzilla.redhat.com/show_bug.cgi?id=1649527 src/dialog-editor/components/modal/modalComponent.ts | 5 +- 1 file changed, 3 insertions(+), 2 deletions(-)
Relevant PRs (merged) https://github.com/ManageIQ/manageiq-ui-service/pull/1515 https://github.com/ManageIQ/manageiq-ui-classic/pull/5109
Tested in CFME 5.10.0.31.20190108221820_a0968c8 The service dialog tag control modal now lists the correct entities for the selected category