Bug 1390966 - Service dialog editor drop down list Refresh problem
Summary: Service dialog editor drop down list Refresh problem
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: Unspecified
OS: Linux
Target Milestone: GA
: 5.8.0
Assignee: Dávid Halász
QA Contact: Shveta
Whiteboard: service:dialog
Depends On:
Blocks: 1395840
TreeView+ depends on / blocked
Reported: 2016-11-02 10:13 UTC by Bruno Gillet
Modified: 2017-06-12 16:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1395840 (view as bug list)
Last Closed: 2017-06-12 16:14:00 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:

Attachments (Terms of Use)
cfme default value drop down list duplicate example in service dialog editor. (31.06 KB, image/png)
2016-11-02 10:13 UTC, Bruno Gillet
no flags Details

Description Bruno Gillet 2016-11-02 10:13:07 UTC
Created attachment 1216458 [details]
cfme default value drop down list duplicate example in service dialog editor.

Description of problem:
 When editing a static drop down list, each time an entry is added or removed  the default value drop down list is duplicated in editor with the new values rather than updating it. Same occur when an entry is destroyed or modified.
Attached is a snapshot after some entries add/delete/modification actions.

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

How reproducible: 

Steps to Reproduce:
1.Create a new service dialog, a tab, a box.
2.Add a static drop down list element and add items. Each added item creates a duplicate default value drop down list.
3.Try removing, adding or modifying and duplicates will occur

Actual results: 
Duplication of default value drop down list.

Expected results:
Refresh of items list in existing drop down list.

Additional info:

Comment 2 Harpreet Kataria 2016-11-02 19:42:31 UTC

Similar issue in the same area of code was fixed for https://bugzilla.redhat.com/show_bug.cgi?id=1274665 not sure how this broke again. Can you please look into this.


Comment 4 CFME Bot 2016-11-16 16:06:23 UTC
New commit detected on ManageIQ/manageiq/master:

commit 9065184a71cb0b0f7df6c8b1687a028310f87fc1
Author:     Dávid Halász <dhalasz>
AuthorDate: Mon Nov 14 14:53:26 2016 +0100
Commit:     Dávid Halász <dhalasz>
CommitDate: Mon Nov 14 14:53:26 2016 +0100

    Destroy selectpicker when adding a new dropdown value in dialog editor

 app/controllers/miq_ae_customization_controller/dialogs.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 6 Shveta 2017-03-13 04:45:39 UTC
Fixed in

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