wordpress-mobile / WordPress-Editor-Android

⛔️ [DEPRECATED] A reusable Android rich text editor component.
GNU General Public License v2.0
188 stars 50 forks source link

Can't publish post or edit post settings if media is uploading in Media section of the app #439

Open rachelmcr opened 8 years ago

rachelmcr commented 8 years ago

I discovered that if I start uploading media to my site's media library directly in the Media section of the app, and then I start a new blog post, I am blocked from editing the post settings or publishing the post — even if I don't add any media to the post itself.

I don't expect uploads in the Media section of the app to interfere with creating and publishing blog posts.

(Note: If we resolve #369 and #259 for media uploaded via the editor that will also resolve this issue.)

Steps to reproduce:

  1. Go to your site dashboard > Media in the app
  2. Tap the plus icon to upload media from your device to the media library (I did this while offline, which queued the upload but of course couldn't complete it — this makes the issue clearer as the media won't finish uploading before you can complete the steps)
  3. Start a new blog post and enter some text in the post
  4. Tap the post settings icon. Result: An error message appears, saying, "You are currently uploading media. Please wait until this completes."
  5. Tap the Publish button. Result: An error message appears, saying, "You are currently uploading media. Please wait until this completes."
  6. Exit the editor
  7. Open the Media section and delete the uploading media item
  8. Re-open the draft post in the editor. The post settings can now be opened and the publish button works.
    Tested on Nexus 9, Android 6.0.1, WPAndroid alpha-17