Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:3
-
Epic Link:
-
Sprint:Fall 3 2022 Sep 26, Fall 4 2022 Oct 10
Description
Situation: When using the Search bar in BioViz Connect, the returned list of files do not have the View in IGB button.
Task: Fix BioViz Connect so that when the Search bar is used any resulting files that can be viewed in IGB have the View in IGB button.
For "View in IGB" button to be added against a file, early in development we used "validateFileExtension" function to check the file extensions in file names. Later, we changed it to use the "isViewable" attribute of a file to check if the file is viewable in IGB and it worked for the most part. However, when the search function is used "isViewable" attribute is set as false for all files. I am not sure if this is new development in the Cyverse API response for files and folders but it seems like it.
To work around this issue, for search function alone, the "validateFileExtension" function from
IGBF-1621was revived which requires rigorous testing as I am not sure why its use was discontinued.