Skip to content
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

Fix share extension sync #884

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

mvasilak
Copy link
Contributor

Syncs item versions as well, when creating download actions for a collections only type of sync. Fixes the edge case mentioned in #882

@mvasilak mvasilak requested a review from michalrentka March 20, 2024 12:41
@dstillman
Copy link
Member

Can you explain why this is the fix for #882? It doesn't seem like there should be any need to do an item versions request (assuming that's what syncVersions does) whenever the share extension is used. The problem is specific to file uploads, so why wouldn't the fix be specific to that? Is there not just a way to have the file-upload request not advance the library version, the same way that the item data request already isn't advancing the version?

@mvasilak mvasilak force-pushed the fix-share-extension-sync branch from aeafad4 to d07ab50 Compare March 20, 2024 16:35
@mvasilak
Copy link
Contributor Author

@dstillman improved as you suggested.

@dstillman dstillman merged commit 7cd7870 into zotero:master Mar 21, 2024
1 check failed
@dstillman
Copy link
Member

That looks better. Let's make a build from this and I'll test.

@mvasilak mvasilak deleted the fix-share-extension-sync branch March 21, 2024 07:08
mvasilak added a commit to mvasilak/zotero-ios that referenced this pull request Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants