Skip to content

Endless Loop When Updating arXiv Article Versions #38

@seifer08ms

Description

@seifer08ms

I am encountering an issue with the arXiv article version update API in the Zotero-arxiv-workflow plugin. When I attempt to update arXiv articles, the API seems to cause an endless loop, repeatedly downloading the same arXiv articles. This behavior is causing significant inconvenience and potential performance issues.
My plugin version is 0.2.13. Below is the code I am using to call the API:

 
if (!item) return;
const Zotero = require("Zotero");
if (!Zotero.arXivWorkflow) {
	return "[Action:arXivWorkflow] arXivWorkflow for Zotero is not installed or disabled.";
}

if (item.itemType !== "preprint") return false;
await Zotero.arXivWorkflow.api.arXivUpdate(item);

Could the author please investigate this issue and provide a fix? Thank you for your attention and help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-responseMore information is neededbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions