v15: Media Delivery API get item by ID fails if media item is placed in a folder #17841
Labels
affected/v15
area/backend
state/reproduced
state/sprint-candidate
We're trying to get this in a sprint at HQ in the next few weeks
type/bug
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
15.1.1
Bug summary
The Media Delivery API will not deliver your media item, if the media item is stored in a folder in your backoffice structure, and if you request it using the
/umbraco/delivery/api/v2/media/item/{id}
-endpoint.If you query your media item using it's ID and it's placed in a folder, one of two things will happen:
System.OutOfMemoryException
simmilar to the one highlighted belowSpecifics
This happens specifically for the
/umbraco/delivery/api/v2/media/item/{id}
-endpoint.The
System.OutOfMemoryException
:Steps to reproduce
/umbraco/delivery/api/v2/media/item/{id}
-endpoint with the ID of your uploaded item.Expected result / actual result
The Media Delivery API should deliver the media item as it does when it's not placed in a folder.
This item has been added to our backlog AB#47486
The text was updated successfully, but these errors were encountered: