Description
When adding a Photo to an Image block, if the user rotates the device while capturing the photo, it will fail to be uploaded and the error message “The media item couldn’t be retrieved” is displayed.
Reproduction Rate
4/4 100%
Expected behavior
The photo should be uploaded succesfully.
Actual behavior
The error message “The media item couldn’t be retrieved” is displayed and the photo isn’t uploaded.
Steps to reproduce the behavior
- Install WordPress 14.2
- Log in to an account.
- Press the “Add new” button.
- Select the “Blog post” option.
- Add an Image block.
- Press “Add Image”.
- Select the “Take a photo” option.
- Rotate the device to switch from Landscape mode to Portrait mode or vice-versa.
- Capture the photo and confirm.
Tested on the following
Google Pixel C (8.1.0)
Huawei P20 Pro (9.0)
Please see the attached video and log for more information
AndroidCaptureRotate.zip
AndroidCaptureRotateLog.txt
Submitted by:
Luis Pimenta