Page 1 of 1

Error when copying product

Posted: Sun Apr 14, 2013 9:17 pm
by gunter
Hi,

When I try to copy a product on the admin pages I am receiving this error

Exception of type 'System.Web.HttpUnhandledException' was thrown.; Unable to cast object of type 'CommerceBuilder.Products.ProductCustomField' to type 'CommerceBuilder.Stores.CustomField'.

Can anyone point me in the right direction as to what I should be looking at here, it seems it's all tied up in the CatalogDataSource.Copy Method.

Thanks in advance.

Re: Error when copying product

Posted: Mon Apr 15, 2013 2:33 am
by jmestep
You have some custom code on the page that is incorrect. It is trying to use a product.customfield as a store customfield or the reverse.