Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Spring 10, Summer 1
Description
Situation: There is a bug where if a user applies a filter to, for example, the positive strand, then the user selects Color by... on the negative strand, and then presses cancel (does not use Color by...), the filter from the positive strand is then applied to the negative strand. This bug was introduced in IGB 9.1.6 in IGBF-2509 (see this PR).
Task: Fix it so that Color by... does not pick up the filter info, but also does not cause a null pointer exception (the null pointer was the reason for the attempted fix in IGBF-2509).
Investigated and fixed the issue, and also fixed the https://jira.bioviz.org/browse/IGBF-1247 this is happening because whenever the user combines and uncombines the tracks every time it refreshes the sequence map and redraws all the tiers, in that workflow filter is being called directly without going through the FilterAction class, so the condition added in the FilterAction in the issues https://jira.bioviz.org/browse/IGBF-3698 didn't resolve it. Updated code is available at the branch: https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3747. Tested both this ticket and https://jira.bioviz.org/browse/IGBF-1247 working as expected. Please review and let me know if there are any issues.