Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add a job that doesn't take arguments through the web-ui. #58

Open
fake-name opened this issue May 18, 2019 · 0 comments
Open

Cannot add a job that doesn't take arguments through the web-ui. #58

fake-name opened this issue May 18, 2019 · 0 comments

Comments

@fake-name
Copy link

Basically, I have a bunch of custom jobs that don't take arguments. I've therefore omitted the 'arguments' section from the meta_info() function.

This seems to allow the jobs to be executed fine, but the web-ui doesn't allow you to add the job due to an error:

image

Basically, it seems the interface is blindly assuming that these fields are present.

It seems like either the value of meta_info should be validated before shipping to the web-client, or it should handle missing parameters in a way that doesn't render the web-interface non-usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant