Bug 1717971 - Dynamic Dialog Refresh Sends Nil Value to dialog_parser Automate Method
Summary: Dynamic Dialog Refresh Sends Nil Value to dialog_parser Automate Method
Keywords:
Status: CLOSED DUPLICATE of bug 1710610
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.10.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.10.7
Assignee: Tina Fitzgerald
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-06 14:45 UTC by myoder
Modified: 2019-06-10 14:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-07 14:12:45 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description myoder 2019-06-06 14:45:42 UTC
Description of problem:

When clicking the refresh button on a dynamic dialog, the value appears to load fine in the UI, however the value is never accepted, and is showing as nil in the dialog_parser method:

[----] I, [2019-06-06T10:36:37.149619 #20839:d1f128]  INFO -- : Q-task_id([r1000000000010_service_template_provision_task_1000000000010]) <AEMethod dialog_parser> dialog_options: {"dialog_dummy_text_box_1"=>nil, "dialog_dummy_text_box_2"=>"No worries Mate!", "request"=>"clone_to_service", :service_action=>"Provision", "Service::Service"=>1000000000010}

Above there are 2 dynamic dialogs, both with the exact same setup and automate method populating the values.  "dialog_dummy_text_box_1" was refreshed, and shows the value nil, while "dialog_dummy_text_box_2" was not refreshed, and shows the "No worries Mate!" value.  Note, these 2 dialogs have "Load on Init" enabled.  I tried it with "Load on Init" disabled, and we still see the refresh is sending a nil value for "dialog_dummy_text_box_1":

[----] I, [2019-06-06T10:39:53.889073 #20847:640ea9c]  INFO -- : Q-task_id([r1000000000011_service_template_provision_task_1000000000011]) <AEMethod dialog_parser> dialog_options: {"dialog_dummy_text_box_1"=>nil, "dialog_dummy_text_box_2"=>"", "request"=>"clone_to_service", :service_action=>"Provision", "Service::Service"=>1000000000011}


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

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Reproducer on 10.13.153.122 with default credentials.  The service dialog is "dummy_dialog" and is used in the generic catalog "generic_dummy".

Comment 2 Tina Fitzgerald 2019-06-06 16:24:45 UTC
Hi Yoder,

I believe this issue has already been addressed.

Can you apply the hot fix and verify that it works properly:
https://bugzilla.redhat.com/show_bug.cgi?id=1710610#c7

Thanks,
Tina

Comment 3 myoder 2019-06-07 14:11:31 UTC
Hey Tina,

Yep, that was perfect, thanks.  Closing as dupe of 1710610.

Cheers,

Comment 4 myoder 2019-06-07 14:12:45 UTC

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


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