Bug #31985
closedTemplate sync fails with unclear error
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1925258
Description of problem:
Export Template sync fails with error below:
Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422
Version-Release number of selected component (if applicable):
2.3
How reproducible:
Always
Steps to Reproduce:
1. Hosts -> Sync Templates
2. Select Action type as Export
3. Click Submit
4. You will land to new Page "No Template Sync Result", Click Sync Templates
5. You will see error message as below:
Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422
Actual results:
Error received:
Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422
Expected results:
Proper error message with clear distincion what went wrong as
Error! Please specify a branch when exporting into a git repo