Problem with 7.6.1 .GetMediaByPath(string mediaPath)
Hi,
I've come across a bit of a problem, code below:
using Umbraco.Core.Services;
IMediaService mediaService = ApplicationContext.Current.Services.MediaService;
IMedia media = mediaService.GetMediaByPath(mediaPath);
Now when I debug with the code above, its bringing me back a different media item.
Has anyone come across this??
Or does any one know where I can get my hands on the raw code so I can see what the helper is doing??
Problem with 7.6.1 .GetMediaByPath(string mediaPath)
Hi,
I've come across a bit of a problem, code below:
Now when I debug with the code above, its bringing me back a different media item.
Has anyone come across this??
Or does any one know where I can get my hands on the raw code so I can see what the helper is doing??
Thanks
Darren
UPDATE - I've uploaded the new umbraco .dll to the production server and it works.
Darren
is working on a reply...