vickychijwani / quill

:ghost: [MOVED TO https://github.com/TryGhost/Ghost-Android] The beautiful Android app for your Ghost blog.
MIT License
553 stars 84 forks source link

"View post on blog" gives a 404 after publishing #125

Open vickychijwani opened 8 years ago

vickychijwani commented 8 years ago

Steps to replicate:

  1. Make a new draft
  2. Give it a title so that the slug ends up conflicting with an existing post
  3. Publish it
  4. Ghost will re-assign the slug to something unique, like title-2 (if title was the slug generated by Quill)
  5. Try "View post on blog" - gives a 404

This is probably occurring because the app does not update the local copy of the post correctly after syncing (it fires an event to let the UI know, but doesn't actually save it in the database). Somehow, even re-opening the app doesn't help, which is the part I don't understand. Logging out and back in fixes it though.