Project

General

Profile

Fix #6640

UI: notification if the UI fails to load config.json

Added by Yan-Fa Li almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

If the config.json file fails to load, or there are syntax errors in the file, there is no user feedback visually. Pop up a simple alert or take over the UI and display a more helpful message that something went wrong.

History

#1 Updated by Dan Mick almost 8 years ago

  • Target version changed from v1.1rc1 to v1.1rc2

#2 Updated by Yan-Fa Li almost 8 years ago

  • Status changed from New to 7

I've added basic error handling to the config loader. It will report an alert on any important error. It's pretty clean for JSON errors, network errors from the server may not be as well handled. Needs more testing.

#3 Updated by Ian Colle almost 8 years ago

  • Status changed from 7 to Resolved

Also available in: Atom PDF