-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue when copying a data portal URL query from one google chrome tab to another #1034
Comments
cc @ssarrafan |
I suspect reordering the init function could help here, i.e. move the nmdc-server/web/src/store/index.ts Lines 87 to 90 in f5683f0
That way the query conditions are set right away before the async call to get the user, so that in the main startup the Vue app is initialized with the query conditions already set: Lines 35 to 44 in f5683f0
@marySalvi or @naglepuff could you try this out and see if we get only one |
Added to sprint late. Jeff said to add to new sprint at infra sync meeting today. |
@marySalvi is this issue actively being worked on? |
Yes. Solution might be trickier than I originally thought. Please move to next sprint. |
Checked with @marySalvi and moving to next sprint. |
The solution from #1056 ended up introducing some problems with other (non-search) API endpoints. We'll have to rework that to fix the race condition. In the meantime, that change has been reverted. |
Tentatively planned for the sprint the week of November 6 |
Per infrastructure sync meeting @marySalvi will work on this ticket for the sprint starting Nov 6. |
Moving to the next sprint per the infrastructure call. |
Last day of sprint. Removing from sprint. Adding backlog label. |
Hi Folks - we may need to bump this up in priority, since it actually gets triggered even outside of link sharing, if you try to login after a search. To reproduce
So basically if one does a login after a search, it effectively triggers the bug. |
Moving to the new sprint for Mary. |
Discussed at infra sync meeting today. Will be reviewed by Mike this week by tomorrow. |
@naglepuff did you get a chance to review this? |
@ssarrafan yes |
Confirmed this is working in dev and prod! |
I discovered what I believe is a separate bug with query results when debugging the load balancing issues today.
When I run a query, say select the neon study in one search window (ie https://data.microbiomedata.org/?q=Ch4IABABGAMiFiJubWRjOnN0eS0xMS0zNHhqMTE1MCI=) I get the expected results in terms of number of samples. Expected number of active search results is 4204.
If I copy the url with the applied filter (https://data.microbiomedata.org/?q=Ch4IABABGAMiFiJubWRjOnN0eS0xMS0zNHhqMTE1MCI=) to a new tab in google chrome and press enter the active query search results starts as 0, this is expected as the search is loading, then it momentarily shows the correct result of 4204, then it updates to 6734 which is the total number of biosamples in the data portal. The incorrect results seems to be limited to number of samples and the active search query results. The upset plot, map, and omics bar chart filter correctly.
Chrome version Version 115.0.5790.170
This is reproducible in safari Version 16.1 (18614.2.9.1.12). The first time I copy the query into a safari tab the results are correct. Subsequent tabs produce the same incorrect behavior as chrome, sometimes skipping over monetarily having the correct 4204 value.
cc @mslarae13 @pkalita-lbl @shreddd @jeffbaumes
The text was updated successfully, but these errors were encountered: