You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The multiselect is populated, and works as expected. However, selecting an option results in an error. For example, selecting the item call results in:
Calling the script...
Invalid parameter Files value: has value 'call', but should be in []
And the same in the logs:
2022-12-16 11:46:55,295 [web_server.ERROR] Invalid parameter Files value: has value 'call', but should be in []
2022-12-16 11:46:55,296 [tornado.access.WARNING] 400 POST /executions/start (192.168.1.55) 15.99ms
Is this configuration invalid, or am I running into a bug?
Regards,
Mark
The text was updated successfully, but these errors were encountered:
Removing the "constant" flag resolves the error message!
Changing to ls /tmp (with constant back enabled), also fixes this
The way I am trying to use this is to have a main script which is very short and defines a constant. The constant is used by the main command and the script option to populate the multiselect that is in the include file. This way, I can have multiple configurations, without having to duplicate the code.
The constant flag was an option I used to prevent the parameter from being visible to the user. I can at least use the removal of this to get the setup working.
The second workaround (not using the variable) is not an option as that breaks the include (it will not be generic anymore).
I hope this makes sense.
Is it possible to make this work with the constant option enabled?
Hi,
Not 100% sure if my configuration is valid, however it seems to work find as long as I don't select anything on the multiselect :)
The main configuration file is:
The included file is:
The multiselect is populated, and works as expected. However, selecting an option results in an error. For example, selecting the item call results in:
And the same in the logs:
Is this configuration invalid, or am I running into a bug?
Regards,
Mark
The text was updated successfully, but these errors were encountered: