Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Fall 6 2022 Nov 7
Description
Situation: The Search endpoint has been going down on CyVerse with the following error:
{"error":"no available connection: no Elasticsearch node available"}
Currently, if a user attempts to use the Search bar they are logged out of BioViz Connect, most likely due to us not handling the error.
Task: Handle the above error and display a popup to the user stating that there is a problem with Search at this time. The response should be similar to what we are showing for View in IGB and Manage Link for Community/Shared, as they also use the Search endpoint.
Sorry! An error occured while searching your search phrase. Please try a different phrase or try again after some time.
Error has been handled (See [commit | https://bitbucket.org/KarthikRavee91/karthikdjango-cyversedev/commits/861df6ea4243b04bfa1f25b53f573a6cac787e2a) however as the search functionality is down, I was not able to test if normal search functionality is affected by this or not. The error handling is specific so I was able to make some assumptions about that.
PR submitted. https://bitbucket.org/nfreese/bioviz-connect/pull-requests/282