Not getting the rule field values through InstallData Object on click of custom button

Description

I have created one userInput panel which has field like Host Name(is text field type) , UserName(is a rule field type) and Password(is a password field type). And we have created a custom button named as "Test Connection" which validate the user on the given host. For validating i have created TestConnection class which extend ButtonAction.
So on the click of button i am getting the all the values which are of text field type but not the rule or password field type at back-end.

Spec.xml

TestConnection.java

Not able to get the port, user and password field data from installData Object on click of button action.

Environment

None

Activity

Show:
Chris A
August 11, 2020, 1:54 PM
Edited

I have this same exact problem. Using the -DDEBUG=true option I can see that the dynamic variable for the password doesn’t get set until I click the next button. However, my username field gets set as soon as it loses focus:

Panel 'InstallPanel_4' can be shown
Validation OK using NotEmptyValidator
Field setting variable=svcuser to value=myUser
Dynamic variable 'svcuser' set to 'myUser'
Field setting variable=svcpass to value=
Dynamic variable 'svcpass' set to ''
Validation OK using NotEmptyValidator
Field setting variable=svcuser to value=myUser
Dynamic variable 'svcuser' set to 'myUser'
Field setting variable=svcpass to value=1234 ----->Next Button Clicked
Dynamic variable 'svcpass' set to '1234'

Here is the relevant field XML:

René Krell
January 19, 2018, 4:23 PM

Please don't assign people to your issues unless they agreed to solve this.
BTW: Julien has left the project already a few years ago.

Assignee

Unassigned

Reporter

Nutan Nandanwar

Impact

Functional - non-breaking and safe in existing environments

Components

Affects versions

Priority

Highest