Comment 1 for bug 1876327

Revision history for this message
Ryan Farrell (whereisrysmind) wrote :

It think we could fix this by further improving the import_dashboard function to handle multiple data types. Check if 'dashboard' is a string, then attempt to convert it into a dictionary with json.loads; if that fails then it can return the its 'success' status and the reason being "cannot convert strng to json"

Logging needs to be implemented in the reactive code for import_dashboards to report the import status and reason, in any case.