Project

General

Profile

« Previous | Next » 

Revision 7d6d573e

Added by Boaz Shuster almost 6 years ago

Fixes #23709 - Fix ajaxRequestAction failure dispatch

The FAILURE action dispatched in ajaxRequestAction is not
aligned with the bookmarks, powerStatus and statistics
reducers:
- Moving to axios returns Error object instead of a string
- The payload doesn't contain "id" but "item"

This patch fixes that problem and makes components work
on failures from API.

In addition, tests were added and fixed to avoid regressions.

Signed-off-by: Boaz Shuster <>

  • added
  • modified
  • copied
  • renamed
  • deleted