wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.63k stars 1.1k forks source link

no attachment(s) created when uploading image(s) to a post #21903

Open wkettler1985 opened 8 months ago

wkettler1985 commented 8 months ago

Expected behavior

On a self hosted wordpress: If i upload an image during creating a post and add it to the post using wordpress in the browser, an attachment for each image will be created. this enables me to see which images are assigend to a post. furthermore, using the API, it allows me to get all attachments for a post using /wp-json/wp/v2/media?parent=POST_ID

Actual behavior

On a self hosted wordpress: if i create a new post using the app, attach images to the post and publish it, no attachment will be created. it doesnt matter if i upload a new image or using an existing. it happens on the jetpack and wordpress app.

Steps to reproduce the behavior

On a self hosted wordpress: create a post with an image, check the image details in the media library (no assignment to the post) or call the API using /wp-json/wp/v2/media?parent=POST_ID

Tested on [device], iOS [version], Jetpack iOS / WordPress iOS [version]

iOS 14 Pro, iOS 17.0.3, WordPress iOS 23.4

peril-wordpress-mobile[bot] commented 8 months ago
Fails
:no_entry_sign: Please add a type label to this issue. e.g. '[Type] Enhancement'

Generated by :no_entry_sign: dangerJS