Skip to content

Media Upload fails to upload image when leaving and coming back in #1928

@chipsnyder

Description

@chipsnyder

Describe the bug
Close/Re-opening a page with ongoing image uploads in a Gallery Block causes the image to be marked for retry.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Draft Page or select an existing page.
  2. Add a Gallery or Image Block
  3. Select Add Media
  4. Select "Choose From Device"
  5. Select an Image
  6. While the image is uploading; select back
  7. Go right back into the Page

Error: Image gets locked into a mode where it's tagged to be uploaded
Expected: Image should upload successfully and reflect the proper state.

https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/gallery.md#tc001

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
FailedUpload_GalleryTC001 2020-02-18 09_38_50

Smartphone (please complete the following information):

  • Device: Pixel 3a
  • OS: Android 10
  • Version API 29

APK used to test

Additional context
Discovered during regression testing for Release 1.23.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions