Project

General

Profile

Bug #31848

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

Added by Amir Fefer 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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

Related to Templates - Bug #31985: Template sync fails with unclear errorClosed
Related to Templates - Bug #32113: Fix server error propagation Closed

Associated revisions

Revision 921a18bb (diff)
Added by Amir Fefer 6 months ago

Fixes #31848 - fix ForemanForm error regression

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8318 added

#2 Updated by Ondřej Ezr 7 months ago

  • Related to Bug #31985: Template sync fails with unclear error added

#3 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 2.5.0 added

#4 Updated by Ondřej Pražák 6 months ago

  • Related to Bug #32113: Fix server error propagation added

#5 Updated by Amir Fefer 6 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF