Closed
Description
[NullReferenceException: Object reference not set to an instance of an object.]
Hotcakes.Modules.Core.Admin.Catalog.ProductTypePropertiesEdit.get_ProductPropertyChoiceId() +52
Hotcakes.Modules.Core.Admin.Catalog.ProductTypePropertiesEdit.<btnUpdateChoice_Click>b__8(ProductPropertyChoice y) +13
System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source, Func`2 predicate) +173
Hotcakes.Modules.Core.Admin.Catalog.ProductTypePropertiesEdit.btnUpdateChoice_Click(Object sender, EventArgs e) +223
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +136
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +147
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5027
Software Versions
- DNN: 09.09.01
- Hotcakes: 03.05.00
To Reproduce
Steps to reproduce the behavior:
- Go to Edit Product Type Property
- Edit an option (choice name & display name) that that has been set on a product
- Click Update
I was able to edit a similar newly added option without error. Also, other choices were editable. Possibly an issue with that specific name or removing the hyphen?
Workaround
Update via SQL directly in hcc_ProductPropertyChoiceTranslations
and hcc_ProductPropertyChoice