Add all search results via DOI issue.
Hello, I am on the team at Consensus (consensus.app) and we recently had one of our user report an issue:
Adding all papers from search results page via DOI stopped working.
I was able to reproduce the issue here: https://www.awesomescreenshot.com/video/21673229?key=2e25a77c9b79281fd614ea5bb4f162a5
Any idea why it's not working? Our users would appreciate any information you can share!
URL for reference: https://consensus.app/results/?q=Can zinc supplementation treat depression?&synthesize=on
Adding all papers from search results page via DOI stopped working.
I was able to reproduce the issue here: https://www.awesomescreenshot.com/video/21673229?key=2e25a77c9b79281fd614ea5bb4f162a5
Any idea why it's not working? Our users would appreciate any information you can share!
URL for reference: https://consensus.app/results/?q=Can zinc supplementation treat depression?&synthesize=on
While they're not reporting outage for content negotiation, in my experience, when this many services are affected, that does affect our ability to get metadata reliably.
Edit:
Nope, it's not crossref, something going wrong with the connector. I'm only seeing that in Firefox, works with other browsers.
Debug ID is D19716254
Relevant error message would appear to be
[JavaScript Error: "Promised response from onMessage listener went out of scope
It seems that you page is issuing an excessive number of
ZoteroItemUpdated
events, which is likely to be causing the problems here.We're hoping to improve our embedded metadata handling so that the Connector can show a single set of items from all the generic translators that detect on a page, but that's a ways off, and even then since you have meta tags it would still offer to save the search-result page for no reason. A dedicated translator is going to offer the best experience here.
1. Stop issuing an excessive number of `ZoteroItemUpdated` events
2. Create a dedicated translator
We will prioritize #2 but I would like to this bug fixed asap, so looking to implement #1 in the next few days. Is the key to only run the `ZoteroItemUpdated` when new results are fully loaded on the page?
Thanks!