Hi,
After upgrading to latest DW (9.14.3) I got problems with ProductCategoryFields. I upgraded from 9.13.11.
I get a :
SYSTEM.NULLREFERENCEEXCEPTION: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT. AT DYNAMICWEB.ECOMMERCE.PRODUCTS.CATEGORIES.FIELD.GET_DEFAULTVALUE()
I have narrowed it down to that even code with the "TemplateTags" below gives this error. Same thing if I have a "@c.TemplateTags()" in the inner loop.
What has changed regarding ProductCategoryFields between those versions? We use productcategory fields quite extensive in the solution sp this is bit of big issue. Any suggestions is appriciated.
@{ foreach (LoopItem categoryGroup in GetLoop("ProductCategories")){ @categoryGroup.TemplateTags() foreach(var c in categoryGroup.GetLoop("ProductCategoryFields")){ } } }