Assigning a media folder to a product's Primary image
We're running a v1 UCommerce website and when we assign a media folder to the Primary Image field, the product editor crashes with the following items in stack trace:
[NullReferenceException: Object reference not set to an instance of an object.]
UCommerce.Content.ContentService.GetImageUrl(String id) +95
UCommerce.Web.UI.Umbraco.UCommerce.Controls.MediaDisplay.Update() +141
We're using a media folder to attach a collection of images to the product and I'm assuming the GetImageUrl is expecting an image file rather than folder. Is there a workaround for this or perhaps it's addressed in newer versions.
(fwiw, we're not in a position to upgrade the site right now!)
Assigning a media folder to a product's Primary image
We're running a v1 UCommerce website and when we assign a media folder to the Primary Image field, the product editor crashes with the following items in stack trace:
We're using a media folder to attach a collection of images to the product and I'm assuming the GetImageUrl is expecting an image file rather than folder. Is there a workaround for this or perhaps it's addressed in newer versions.
(fwiw, we're not in a position to upgrade the site right now!)
Hi James,
Which version V1 version are you running?
Hi Soren, the site is running v1.0.5.1.
I'm guessing I may find quite a few fixes upgrading to 1.5?
Yes. The release notes might be helpful for you.
Thanks Soren. It does indeed fix the issue.
is working on a reply...