possible Umbraco Media issue with Culture context?
I have a multilingual Umbraco website with a Culture set against each language tree in the typical way.
I’ve noticed that when the Language isn’t English (e.g. “mi-NZ") that the following code returns no results:
var mediaFolderId = 3921;
var folder = UmbracoContext.Current.MediaCache.GetById(mediaFolderId);
var children = folder.Children;
This returns a full list of children when executed on a template in the context of the English tree, but nothing in the other tree.
possible Umbraco Media issue with Culture context?
I have a multilingual Umbraco website with a Culture set against each language tree in the typical way. I’ve noticed that when the Language isn’t English (e.g. “mi-NZ") that the following code returns no results:
This returns a full list of children when executed on a template in the context of the English tree, but nothing in the other tree.
Is this a known issue? this is on Umbraco 7.4.3
thanks
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion