Bug 1326984 - Multiple refresh buttons created in Service Catalog dialog
Summary: Multiple refresh buttons created in Service Catalog dialog
Keywords:
Status: CLOSED DUPLICATE of bug 1311291
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: GA
: 5.6.0
Assignee: Dan Clarizio
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-14 01:10 UTC by Shane Boulden
Modified: 2016-08-02 06:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-14 13:20:13 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)
Screenshot of Service Catalog UI (38.84 KB, image/png)
2016-04-14 01:10 UTC, Shane Boulden
no flags Details

Description Shane Boulden 2016-04-14 01:10:43 UTC
Created attachment 1147012 [details]
Screenshot of Service Catalog UI

Description of problem:
The Cloudforms Web UI displays multiple refresh buttons when a refresh button is added to the dialog, and a dynamic drop-down item is selected. 

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

How reproducible:
Create a service dialog with two dynamic drop-down lists. One of these lists (example2) should be dependent on the other (example1), and have a manual refresh button added (example2).

Point the entry-point for dynamic drop-down list example2 to an instance which will call the following code to list entries:

dialog_hash = {}
if $evm.root['dialog_example1']
  example_obj = $evm.vmdb(:example).find_by_id($evm.root['dialog_example1'])
  dialog_hash[someobject.id] = "#{example_obj.name}"
end

When the example1 dialog element is changed, the refresh for dialog example2 is selected, and an item for the example2 dialog element is selected, the UI will add additional refresh buttons, per the screenshot. This occurs each time a dialog element is selected for the example2 dialog.

Actual results:
The UI adds additional refresh buttons to the dialog when elements from the second dialog box are selected.

Expected results:
The UI should not add additional refresh buttons.

Additional info:
Code listed above is only indicative of the issue - accurate code examples can be provided on request.

Comment 2 Harpreet Kataria 2016-04-14 13:20:13 UTC

*** This bug has been marked as a duplicate of bug 1311291 ***


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