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

Revert fix for Discard losing changes in develop #11924

Merged
merged 2 commits into from
Jun 14, 2019

Conversation

shiki
Copy link
Member

@shiki shiki commented Jun 13, 2019

Completely reverts the fixes for #11435.

This reverts the PRs #11898 and #11736. They caused the Editor to discard the contents when pressing the Update button while offline, both for drafts and published posts. This was found while finding the solution for #11905.

The #11736 was already reverted for release/12.6 in #11920.

Proposal

As I commented in #11435 (comment), we still need to fix the #11435 issue but we should wait until the discussion in wordpress-mobile/WordPress-Android#9561 is finished so the iOS and Android solutions will match.

Testing

  1. While online, create a draft. Make sure the draft is uploaded to the server.
  2. Stay on the Post List and go offline.
  3. Edit the draft. Make some changes.
  4. Click on the Update button. The contents should not disappear.

Please also test other statuses like published or when online.

Release Notes

  • If there are user-facing changes, I have added an item to RELEASE-NOTES.txt.

@shiki shiki added this to the 12.7 milestone Jun 13, 2019
@shiki shiki requested a review from yaelirub June 13, 2019 20:28
@shiki shiki self-assigned this Jun 13, 2019
@shiki shiki merged commit 08ebcb1 into develop Jun 14, 2019
@shiki shiki deleted the issue/11905-fix-draft-changes-saving branch June 14, 2019 14:40
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.

2 participants