Page 1 of 1
Possible Bug with Copy Product Button
Posted: Wed Sep 24, 2008 8:23 am
by heinscott
Has anyone seen this error? After setting up my products to use custom fields, when I try to use the 'copy' button from the catalog browser in admin, I recieve this error message:
Unable to cast object of type 'CommerceBuilder.Products.ProductCustomField' to type
'CommerceBuilder.Stores.CustomField'.
Any ideas??
Scott
Re: Possible Bug with Copy Product Button
Posted: Wed Sep 24, 2008 9:39 pm
by mazhar
For me its working fine as desired. I have created a template with merchant and the customer fields and then applied it over the product. Then i created a copy of the product using the copy button and it worked great.
Re: Possible Bug with Copy Product Button
Posted: Wed Sep 24, 2008 11:06 pm
by AbleMods
mazhar wrote:For me its working fine as desired. I have created a template with merchant and the customer fields and then applied it over the product. Then i created a copy of the product using the copy button and it worked great.
Product templates are different than product custom fields.
He's talking about the Product.ProductCustomFields data class.
Re: Possible Bug with Copy Product Button
Posted: Thu Sep 25, 2008 8:20 am
by heinscott
Joe is right. It worked fine when using product templates, but, with Product Custom Fields, it causes this error durring the copy. Is there any way I could get details of the copy method, so I could recreate the actions of the copy button and fix the invalid cast in the code?
Thanks,
Scott