Project

General

Profile

Actions

Bug #31848

closed

ForemanForm (react) has a regression which fails to show errors after submission

Added by Amir Fefer almost 4 years ago. Updated almost 4 years ago.

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

Description

APIMiddleware is consumed in the ForemanForm component after a refactoring.
This change wasn't taken into account that the APIMiddleware is not a promise, it doesn't return any exception so using `try-catch` isn't useful anymore.


Related issues 2 (0 open2 closed)

Related to Templates - Bug #31985: Template sync fails with unclear errorClosedOndřej EzrActions
Related to Templates - Bug #32113: Fix server error propagation ClosedOndřej PražákActions
Actions

Also available in: Atom PDF