Bug 1266838

Summary: Refresh button makes interface hang if "nil" is used as hash key in the method that's called when refresh button is clicked.
Product: Red Hat CloudForms Management Engine Reporter: Prasad Mukhedkar <pmukhedk>
Component: UI - OPSAssignee: eclarizi
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.4.0CC: gmccullo, hkataria, jhardy, mpovolny, obarenbo, vfarias
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-28 20:19:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Prasad Mukhedkar 2015-09-28 07:24:14 UTC
Description of problem:

The Refresh button on my Dynamic Dropdown Lists runs the method which uses "nil" as hash key cause UI to hang with
the waiting wheel.


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

How reproducible:
Always

Steps to Reproduce:

1. Create a custom dialog with a Dynamic Dropdown List and a Refresh button
2. Create a method that is call when hiting refresh, use "nil" as hash key the method
3. Call the dialog from a service provisioning or custom button
4. Click on "Refresh"

Actual results:
The UI hangs.


Expected results:
The UI is refreshed with the "dialog_field" generate in the method.

Additional info:
Using an empty string instead of nil as hash key solves the problem, this bugzila is  opened to support "nil" .