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
[Bug]: DwC Occurrence Importer settings modal lags on open when many namespaces set #2834
Comments
A bit hard to test because I'd need to interrupt your import. However closing the modal and opening settings seemed show up the modal in less than 2 seconds. Can you reproduce the lag consistently? |
You can test it while the import's in progress, just hide the import dialog. I'm getting it consistently, and I encountered it when running TW from my machine as well. |
Can I stop the import a bit and resume right after I test this? |
Go for it. I'm pretty sure the problem is that each |
Please close any of your tabs, otherwise import starts again (need to fix this). |
Done |
Steps to reproduce the bug
When opening the DWC Occurrence Importer settings modal, each row in the list makes a namespace api query (if it is set/not blank).
If multiple rows are set to the same namespace, it generates duplicate queries which causes significant lag.
Ex: sandwich project Feb Antweb Import in the specimens import, it takes 10+ seconds to open the modal after clicking the button. (It also opens at the bottom of the list instead of the top)
Screenshot
No response
Expected behavior
No response
Additional Screenshots
No response
Environment
Sandbox Used
sandwich
Version
all versions
Browser Used
No response
The text was updated successfully, but these errors were encountered: