Umbraco 15 children of content picker "media folder" null

Hi,

I created a small Umbraco 15 website where I have a content picker for media folders (screenshot below).

When calling the property from a template e.g. content.Folder (from the modelsbuilder generated model), the folder is properly returned as IPublishedContent.
Now I want to get the images inside this folder, so I called content.Folder.Children(), but this seems to return null, even though there are 3 images inside this folder in Umbraco Media. Am I doing something wrong (is there another way to get the images inside the picked folder), or is this a bug in Umbraco 15?
The way of getting the children as described above, seems to work in Umbraco 13.

Hi @koenvanrasneve, and welcome to the new forum!

This is a known bug in Umbraco 15, and will be fixed in the upcoming v15.3 release (due out next week, all things being well).

There’s an RC of v15.3 available right now if you want to take it for a spin.

2 Likes

Hi @JasonElkin thanks for clearing this up! Didn’t see this issue.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.