Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

Closing or updating the editor before the post content loads erases the post title #456

Open
rachelmcr opened this issue Nov 10, 2016 · 1 comment

Comments

@rachelmcr
Copy link
Member

Expected behavior

I expect that if I open a post to edit it, and close the editor quickly (before the post loads in the editor), no changes will be saved.

Actual behavior

If I open to edit it, and close the editor quickly (before the post loads in the editor), the post title is erased. (It shows as (Unititled) in the post list.)

Steps to reproduce

  1. Create a new post with a title and a lot of content in the post body (so it takes a little longer to load)
  2. Save or publish the post
  3. In the Blog Posts list in the app, tap "Edit" to open the post in the editor
  4. Before the post title/content loads in the editor, tap the back button to close the editor

Result: The title is erased as shows as "(Untitled)" in the post list. Opening the post in the editor again shows a blank post title.

Tested on Nexus 9, Android 7.0, WPAndroid alpha-27

@rachelmcr rachelmcr changed the title Closing the editor before the post content loads erases the post title Closing or updating the editor before the post content loads erases the post title Nov 10, 2016
@rachelmcr
Copy link
Member Author

@hoverduck also observed that it's possible to tap Update and update the post before the content loads in the editor. In this case the title is also erased. (It seems like we should block the option to update a post until the content loads in the editor.)

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

No branches or pull requests

1 participant