Actions
Bug #35076
openjob invocation api doesnt show all validation errors
Description
When saving a job invocation the validation checks `job_invocation`, `targeting` and `pattern_template_invocations`.
But the it shows error info only for job_invocation and will not show information about targeting and pattern_template_invocations errors.
context code in `app/models/job_invocation_composer.rb`
def save! if valid? job_invocation.save! else raise job_invocation.flattened_validation_exception end end
Actions