-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Failed upload Snackbar shown after successful upload #10771
Copy link
Copy link
Closed
Description
Expected behavior
When I publish a post and the upload succeeds a positive Snackbar is shown.
Actual behavior
When I successfully publish a post but there is another upload which fails, the failed upload snackbar is shown which is very confusing.
Steps to reproduce the behavior
- Switch to a site where you are in Contributor role.
- Create a new post and add an image
- This post will always fail to upload since you don't have permissions to upload an image as a contributor (this reproduction steps will work until we fix Contributors shouldn't be allowed to upload media #10666 )
- Now create a new post without an image and publish it
- Notice the UploadService publishes the post, but also retries to upload the failing post -> the failed upload message is shown which is very confusing since the upload from step 2 actually succeeded
Tested on [device], Android [version], WPAndroid [version]
Emulator API 29
Reactions are currently unavailable