Possible Bug with Copy Product Button

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Possible Bug with Copy Product Button

Post by heinscott » Wed Sep 24, 2008 8:23 am

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Possible Bug with Copy Product Button

Post by mazhar » Wed Sep 24, 2008 9:39 pm

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.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Possible Bug with Copy Product Button

Post by AbleMods » Wed Sep 24, 2008 11:06 pm

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: Possible Bug with Copy Product Button

Post by heinscott » Thu Sep 25, 2008 8:20 am

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

Post Reply