wordpress-mobile / wordpress-mobile/WordPress-iOS
Image Title and Caption not preserved when Saving as Draft while posting from another App
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
Expected behavior
Image Title and Caption should be preserved when posting from another App via save as draft Wordpress action.
Actual behavior
Image Title is set to image_57669346498356
Caption is empty
Steps to reproduce the behavior
User provided these steps:
- Open Lightroom
- Open a photo
- Verify that the Title and Caption are both set to ‘Up-Close Columbine’
- Tap the Share button and choose ‘small size’ which is 2048.
- Tap the ‘save as draft’ Wordpress action (because I do not want to post yet)
- Open Wordpress for iOS
- Open Media
- Open image just uploaded
- Look in the information below the image
- Title is set to ‘image_57669346498356’
- Caption is empty
- Both should be set to ‘Up-Close Columbine’
If I load the same image from my photo library using ‘+’ in the Wordpress for iOS Media view, I get the image WITH the title and caption set properly
Additionally, user shared this:
- Open Lightroom
- Open same photo
- Tap the Share button and choose ‘small size’ which is 2048.
- Tap the ‘save image’ action
- Open Photos
- Tap Share button
- Tap MetaGear (Photos does not display Basic or IPTC metadata, so I use this app)
- Both Title and Caption are set to ‘Up-Close Columbine’ as expected.
That indicates that the Share feature is transferring a file with the metadata, but Wordpress does not seem to be reading it.
Tested on iPad, iOS 12.2, WPiOS [not sure]
Reported in 1953993-zen
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Lightroom share flow and trace the “save as draft” action, then compare it with importing the same image through the Media view. Check how each path reads image metadata. Done means a shared image retains the Title and Caption “Up-Close Columbine” when saved as a draft.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100