Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Summer 2, Summer 3, Summer 5, Summer 6
Description
When using the search field in Bioviz Connect, the user gets logged out after showing the ouroboros loading symbol for a few seconds. Cyverse Search APIs returns a 200 OK on Postman.
Attachments
Activity
| Field | Original Value | New Value |
|---|---|---|
| Epic Link | IGBF-2376 [ 18533 ] |
| Sprint | Summer 2 [ 196 ] | Summer 1 [ 195 ] |
| Sprint | Summer 1 [ 195 ] | Summer 2 [ 196 ] |
| Sprint | Summer 2 [ 196 ] | Summer 1 [ 195 ] |
| Status | To-Do [ 10305 ] | In Progress [ 3 ] |
| Sprint | Summer 1 [ 195 ] | Summer 2 [ 196 ] |
| Summary | Fix user logging out when using search issue | Fix the error where user is logged out when using search field |
| Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
| Assignee | Karthik Raveendran [ karthik ] |
| Sprint | Summer 2 [ 196 ] | Summer 2, Summer 3 [ 196, 197 ] |
| Rank | Ranked higher |
| Assignee | Nowlan Freese [ nfreese ] |
| Status | Needs 1st Level Review [ 10005 ] | First Level Review in Progress [ 10301 ] |
| Status | First Level Review in Progress [ 10301 ] | Ready for Pull Request [ 10304 ] |
| Status | Ready for Pull Request [ 10304 ] | Pull Request Submitted [ 10101 ] |
| Status | Pull Request Submitted [ 10101 ] | Reviewing Pull Request [ 10303 ] |
| Status | Reviewing Pull Request [ 10303 ] | Merged Needs Testing [ 10002 ] |
| Sprint | Summer 2, Summer 3 [ 196, 197 ] | Summer 2, Summer 3, Summer 4 [ 196, 197, 198 ] |
| Rank | Ranked higher |
| Assignee | Nowlan Freese [ nfreese ] | Ann Loraine [ aloraine ] |
| Sprint | Summer 2, Summer 3, Summer 4 [ 196, 197, 198 ] | Summer 2, Summer 3, Summer 5 [ 196, 197, 199 ] |
| Assignee | Ann Loraine [ aloraine ] | Nowlan Freese [ nfreese ] |
| Sprint | Summer 2, Summer 3, Summer 5 [ 196, 197, 199 ] | Summer 2, Summer 3, Summer 5, Summer 6 [ 196, 197, 199, 200 ] |
| Rank | Ranked higher |
| Status | Merged Needs Testing [ 10002 ] | Post-merge Testing In Progress [ 10003 ] |
| Assignee | Nowlan Freese [ nfreese ] | Karthik Raveendran [ karthik ] |
| Resolution | Done [ 10000 ] | |
| Status | Post-merge Testing In Progress [ 10003 ] | Closed [ 6 ] |
| Story Points | 0.5 | 1 |
The response JSON from the search API request has been changed by Cyverse. After the user searches for something, we need to list all the files and folders with name similar to the search key. We also need to group it as folders and files and for that we use the document type value in the response JSON. Before, this value had the key, '_type', now, 'doc_type'. Secondly, the position of this key-value pair has changed.
# Before: response_json['hits'][0]['_type'] ## where the response_json, as the name suggests, is the response we get. 'hits' is the key for the list in that json with all the folders and files listed. # Now its changed to response_json['hits'][0]['_source']['doc_type']See commit