Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share: Rotating device while sharing media to a new post results in multiple media uploads #9408

Closed
rachelmcr opened this issue Mar 13, 2019 · 1 comment

Comments

@rachelmcr
Copy link
Member

commented Mar 13, 2019

Expected behavior

I expect that when I share media to a new post in the app, only one copy of the media file will be uploaded.

Actual behavior

When I share media to a new post in the app, if I rotate my device it uploads multiple copies of the media file and adds each copy to the new post.

Steps to reproduce the behavior

  1. Open the Photos app.
  2. Select a photo and share it to WordPress.
  3. Select "Add to new post" to add the photo directly to a new post.
  4. After the editor opens and you see the new photo uploading, rotate your device.
  5. Result: A second copy of the photo will be uploaded and appear in the post.

Each time you rotate your device at this point it will add a new copy of the photo to your post.

Tested on [moto e5 play], Android [8.1.1], WPAndroid [alpha-156]

Observed while testing the change made in #9322, although I'm not sure if this issue is new/related to this PR or not. cc @mzorz

@mzorz

This comment has been minimized.

Copy link
Contributor

commented Mar 18, 2019

Closing via #9427

@mzorz mzorz closed this Mar 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.