Project

General

Profile

Actions

Bug #31985

closed

Template sync fails with unclear error

Added by Ondřej Ezr about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #31848: ForemanForm (react) has a regression which fails to show errors after submission ClosedAmir FeferActions
Related to Foreman - Bug #31798: react forms create toast notifications with unclear error descriptionClosedAmir FeferActions
Related to Templates - Bug #32113: Fix server error propagation ClosedOndřej PražákActions
Actions

Also available in: Atom PDF