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

Offline support: discard deletes the local post. #9985

Closed
diegoreymendez opened this Issue Aug 15, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@diegoreymendez
Copy link
Contributor

diegoreymendez commented Aug 15, 2018

Expected behavior

Discarding changes to a local post when offline should roll back the post to how it was before opening the editor.

Actual behavior

The post is deleted locally, and unavailable until you reconnect and synch your list of posts.

Steps to reproduce the behavior

  1. Edit an existing published post
  2. Turn on airplane mode
  3. Change some text
  4. Publish & exit the editor
  5. You should see the post with the changes and an "Upload failed" message.
  6. Open the post again
  7. Make some more changes.
  8. Try to exit, and discard the changes.
  9. The post goes POOF. Even the original post is gone until you turn off airplane mode, and the app can re-download it.
Tested on iPhone X, iOS 11.4.1, WPiOS 10.5.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.