Project

General

Profile

Actions

Bug #23709

closed

StatisticsCharts fails handling errors

Added by boaz shust almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Description

I just noticed that when one of the statistics chart returns 500 the entire statistics list not displayed.

The error messages I get in the console logs are:

"Failed prop type: The prop `id` is marked as required in `ChartBox`, but its value is `undefined`"
"Failed prop type: Invalid prop `errorText` of type `object` supplied to `ChartBox`, expected `string`"


Files

statistics_empty.png View statistics_empty.png 31.8 KB no statistics are shown on error boaz shust, 05/27/2018 11:56 AM
console.error.png View console.error.png 49.9 KB console logs messages boaz shust, 05/27/2018 11:56 AM
development.log development.log 14.7 KB foreman logs -- intentionally set to return status 500 boaz shust, 05/27/2018 12:32 PM

Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #21962: move away from jquery ajax to axiosClosedAmir Fefer12/13/2017Actions
Actions #1

Updated by boaz shust almost 6 years ago

  • Subject changed from StatisticsCharts fails handle errors to StatisticsCharts fails handling errors
Actions #2

Updated by Ohad Levy almost 6 years ago

can you also get the error from rails ?

Actions #3

Updated by The Foreman Bot almost 6 years ago

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

Updated by Ohad Levy almost 6 years ago

Actions #7

Updated by Ohad Levy almost 6 years ago

  • translation missing: en.field_release set to 330
Actions #8

Updated by The Foreman Bot almost 6 years ago

  • Pull request https://github.com/theforeman/foreman/pull/5711 added
Actions #9

Updated by Anonymous almost 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF