Reading dialog form values from a refresh event


#1

In capablanca-2 I’m able to do the following:

  • Create a service dialog that has a checkbox element configured to refresh other fields when modified.
  • In the same service dialog, have a dynamic text area element that is set to auto refresh by running a workflow that populates the text area with the value of the selected checkbox element. For example, if you check the checkbox, the text area will display “t”. If you uncheck the checkbox, the text area will display “f”.

In the nightly builds I’m unable to do this, and since the nightly builds have fixed a lot of the issues we ran into in capablanca-2, it’s a better option for us to move forward with. We are still learning the product and haven’t deployed it yet, but this is the last issue that’s causing us problems so I’d like to try to get it resolved, get a workaround or for someone to tell me that I’m doing it wrong.

I’m actually trying to use dropdown lists but I figured using the checkbox as an example would be simpler and it has the same issue.

I’ve described the problem in detail at https://github.com/ManageIQ/manageiq/issues/7272 and created a walkthrough on how to reproduce the problem at https://github.com/ManageIQ/manageiq/files/180058/ManageIQ-RefreshIssue.pdf

Thanks.


#2

Thanks @sg_chris for your help in making the product very more awesomely great. I ran out of adjectives.

@dclarizio can you review this comment from @sg_chris and forward to a SME if necessary.


#3

We will need @eclarizio to take a look at this issue. I assigned the git issue and will work with him on this. Thanks.


#4

Thank you.


#5

Hi,

I am runing in same problem, thus I have check box and I want to "Auto Refresh other fields…’ but I am not catching event, I see in my evm.log this if I tick of untick box.

[----] W, [2016-09-30T09:11:14.449874 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): Session object size of 141.8 KB exceeds threshold of 100 KB
[----] W, [2016-09-30T09:11:14.450019 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): _csrf_token Size 44
[----] W, [2016-09-30T09:11:14.450081 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): breadcrumbs Size 80 Elements 1
[----] W, [2016-09-30T09:11:14.450204 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): browser Size 117 Elements 5
[----] W, [2016-09-30T09:11:14.450295 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): changed Size 3
[----] W, [2016-09-30T09:11:14.450405 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): css Size 283 Elements 12
[----] W, [2016-09-30T09:11:14.450478 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): customer_name Size 4
[----] W, [2016-09-30T09:11:14.466968 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): edit Size 129447 Elements 10
[----] W, [2016-09-30T09:11:14.482041 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): current Size 288 Elements 10
[----] W, [2016-09-30T09:11:14.482152 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): dialog_mode Size 3
[----] W, [2016-09-30T09:11:14.482226 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): explorer Size 3
[----] W, [2016-09-30T09:11:14.482307 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): key Size 27
[----] W, [2016-09-30T09:11:14.482380 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): new Size 288 Elements 10
[----] W, [2016-09-30T09:11:14.482470 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): rec_id Size 8
[----] W, [2016-09-30T09:11:14.482510 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): right_cell_text Size 23
[----] W, [2016-09-30T09:11:14.482543 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): target_id Size 8
[----] W, [2016-09-30T09:11:14.482574 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): target_kls Size 15
[----] W, [2016-09-30T09:11:14.498053 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): wf Size 128753
[----] W, [2016-09-30T09:11:14.498147 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): expkey Size 10
[----] W, [2016-09-30T09:11:14.498187 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): group Size 8
[----] W, [2016-09-30T09:11:14.498220 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): host_url Size 21
[----] W, [2016-09-30T09:11:14.498296 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): last_trans_time Size 90
[----] W, [2016-09-30T09:11:14.498335 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): lastaction Size 9
[----] W, [2016-09-30T09:11:14.498381 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): layout Size 8
[----] W, [2016-09-30T09:11:14.498425 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): miqrequest_sortcol Size 8
[----] W, [2016-09-30T09:11:14.498456 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): miqrequest_sortdir Size 4
[----] W, [2016-09-30T09:11:14.498506 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): paged_view_search_options Size 248 Elements 12
[----] W, [2016-09-30T09:11:14.498558 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): panels Size 52 Elements 3
[----] W, [2016-09-30T09:11:14.498598 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): request_current_page Size 8
[----] W, [2016-09-30T09:11:14.498631 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): request_lastaction Size 9
[----] W, [2016-09-30T09:11:14.498662 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): request_sortcol Size 8
[----] W, [2016-09-30T09:11:14.498708 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): request_sortdir Size 4
[----] W, [2016-09-30T09:11:14.499419 #4111:121d544] WARN – : MIQ(catalog_controller-dialog_field_changed): sandboxes ActiveSupport::HashWithIndifferentAccess Size 3683 Elements 4

Do you have any solution?

Thank you