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 gallery upload sync #1830

Merged
merged 8 commits into from
Feb 3, 2020
Merged

Fix gallery upload sync #1830

merged 8 commits into from
Feb 3, 2020

Conversation

mkevins
Copy link
Contributor

@mkevins mkevins commented Jan 29, 2020

Fixes #1814, #1815

Related PR

gutenberg: WordPress/gutenberg#19941

Description

This PR fixes problems with gallery upload by syncing with the parent app on first render, and keeping referential equality during re-renders for the media collection used in deduplication.

How has this been tested?

Tested via step related PR: WordPress/gutenberg#19941

  • I have considered adding unit tests where possible.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

Copy link
Member

@geriux geriux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkevins mkevins merged commit b58ac1b into develop Feb 3, 2020
@mkevins mkevins deleted the fix/gallery-upload-sync branch February 3, 2020 03:43
@mkevins
Copy link
Contributor Author

mkevins commented Feb 3, 2020

Thanks for testing and reviewing @geriux 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Crash when reopening post with ongoing gallery uploads
2 participants