Bug 1559377

Summary: CUI returning empty array when dialog without associations is saved
Product: Red Hat CloudForms Management Engine Reporter: drew uhlmann <duhlmann>
Component: UI - OPSAssignee: Dan Clarizio <dclarizi>
Status: CLOSED NEXTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: hkataria, lavenel, mpovolny, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1559475 (view as bug list) Environment:
Last Closed: 2018-08-20 14:26:54 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:
Bug Depends On:    
Bug Blocks: 1559475    

Description drew uhlmann 2018-03-22 12:31:12 UTC
Description of problem:
New dialog editor returns empty field associations as an empty array which the existing code wasn't handling prior to the merge of https://github.com/ManageIQ/manageiq/pull/16919

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


How reproducible:


Steps to Reproduce:
1. create dialog

Actual results:
association list contains empty arrays for the fields without associations

Expected results:
we don't want empty arrays in the association list, should be removed

Additional info:

Comment 2 drew uhlmann 2018-03-22 12:31:35 UTC
https://github.com/ManageIQ/manageiq/pull/16919