ansibleguy76 / ansibleforms

A webapplication to create pretty advanced forms to run ansible playbooks or awx templates.
https://ansibleforms.com/
GNU General Public License v3.0
66 stars 10 forks source link

Error message on submit not clear. #152

Closed nikos445 closed 6 months ago

nikos445 commented 7 months ago

When a lot of dependencies and variables depend on each other if a variable is undefined (not valid) the error message on submit is not clear.

A variable doesn't exist because of dependencies but that doesn't matter and then there is a not a descriptive message to help resolving the issue.

The submit button takes few seconds and shows : "it took to long to evaluate all fields before run. Let the form stabilize and try again" It doesn't show exact where the error is located. Neither error is shown in logs. All required fields / extra vars are filled (none is undefined)

Can you please add more specific details (variable that is undefined / missing) in error message?

nikos445 commented 7 months ago

IMG_20240216_110634

ansibleguy76 commented 6 months ago

fixed in 5.0.1, will show an icon with unevaluated fields, disable the run button with the same message.