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
Fixes #21704 - Prevent user from rerunning a job with missing template #358
Fixes #21704 - Prevent user from rerunning a job with missing template #358
Conversation
There were the following issues with the commit message:
If you don't have a ticket number, please create an issue in Redmine. More guidelines are available in Coding Standards or on the Foreman wiki. This message was auto-generated by Foreman's prprocessor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really ready, just want to see if the tests will exhibit the same issue as #357
3391792
to
b575f80
Compare
b575f80
to
d76a30f
Compare
In case users try to rerun a job for which they can't see the template, the new job invocation form shows an error box, no job category is selected and the submit button is disabled. After they select a proper category-template combination, the form redraws, error box disappears and submit button gets enabled. |
Would it be possible to cover this with some tests. At least one for Also; how would the API behave in this case, or it's not affected at all? |
Test failures seem related |
There were the following issues with the commit message:
If you don't have a ticket number, please create an issue in Redmine. More guidelines are available in Coding Standards or on the Foreman wiki. This message was auto-generated by Foreman's prprocessor |
There were the following issues with the commit message:
If you don't have a ticket number, please create an issue in Redmine. More guidelines are available in Coding Standards or on the Foreman wiki. This message was auto-generated by Foreman's prprocessor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works well.
Thanks @adamruzicka |
No description provided.