WordPress-iOS icon indicating copy to clipboard operation
WordPress-iOS copied to clipboard

Images remains with local paths if the user exits the app while the editor is opened

Open leandroalonso opened this issue 6 years ago • 3 comments
trafficstars

Expected behavior

Images that are added will be replaced with their remote URL as soon as possible.

Actual behavior

Images that are added to a post never gets its remote URL if the user closes the app with the editor opened.

Steps to reproduce the behavior

While offline:

  1. Open the editor (create a new post or edit an existing one)
  2. Add an image
  3. Type some content to make sure the post is saved
  4. Close the app with the editor opened
  5. Go online
  6. Open the app again
  7. Check that the image is uploaded but the <img src=""> still point to a local path

Video

https://drive.google.com/file/d/1_WOjOxzJ34nGTEEycBz8tzlwErv8fyzt/view?usp=sharing

leandroalonso avatar Sep 05 '19 17:09 leandroalonso

Re-tested and confirmed using WPiOS 13.6.0.1 TestFlight beta on iPhone 6S iOS 13.2.2. (1m18s)

designsimply avatar Nov 13 '19 20:11 designsimply

There's a report in 3679734-zen. I can see the image URL is pointing to a local path:

<img class="alignnone size-full" src="///var/mobile/Containers/Data/Application/2F613A38-C69F-41F6-937A-5290FD89E818/Library/Caches/Media/thumbnail-p1508-1334x1334.jpeg" />

reginabally avatar Jan 26 '21 02:01 reginabally

Another issue found in 5481226-zd-woothemes. App version 20.4.

Sample local path:

<img data-id="-2140826122" src="///private/var/mobile/Containers/Data/Application/F81EA292-582C-4FD9-8A22-9219DA003D56/tmp/-2140826122.jpg" alt="" class="wp-image--2140826122" scale="0">

reginabally avatar Aug 16 '22 06:08 reginabally