Project

General

Profile

Actions

Bug #28356

closed

Fix power host failure reducer

Added by Redmine Asana Bot almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
-
Fixed in Releases:
Found in Releases:
Actions #1

Updated by Ron Lavi almost 5 years ago

  • Category set to JavaScript stack
  • Assignee set to Ron Lavi
Actions #2

Updated by The Foreman Bot almost 5 years ago

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

Updated by Ron Lavi almost 5 years ago

The bug I found is on the way we handle the fail response from the server.

The response returns status code: 200 instead of 500
Which leads the redux reducers to treat it as success.

It means that the failure reducer was never called, and it would fail if it was called because the server doesn't return the values that the reducer is expecting.

Actions #4

Updated by The Foreman Bot almost 5 years ago

  • Fixed in Releases 2.0.0 added
Actions #5

Updated by Ron Lavi almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/7215 added
Actions

Also available in: Atom PDF