Can't Copy Products After Adding Custom Field

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ozlighting
Lieutenant (LT)
Lieutenant (LT)
Posts: 53
Joined: Tue Mar 24, 2009 9:49 pm
Contact:

Can't Copy Products After Adding Custom Field

Post by ozlighting » Tue Sep 29, 2009 9:46 pm

Hi,

We added a Custom Field for "Lead Time" to the Product Screen (Basic Info) by editing the Files Admin/Products/EditProduct.aspx and Admin/Products/EditProduct.aspx.cs (see attachment).
EditProduct.zip
This seems to work correctly and I can see the data is being saved in the ac_ProductCustomFields table. However, now when we try and copy products we get this error message:
Message: Sys.WebForms.PageRequestManagerServerErrorException: Unable to cast object of type 'CommerceBuilder.Products.ProductCustomField' to type 'CommerceBuilder.Stores.CustomField'.
Any ideas why? I was wondering whether it was necessary to do something with the ac_CustomFields table? I'm not really sure what it's for.

Thanks in advance
Australian Online Lighting Store

log on and light up...

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

Re: Can't Copy Products After Adding Custom Field

Post by mazhar » Wed Sep 30, 2009 3:44 am

Its a known issue, you can track progress for this bug here
http://bugs.ablecommerce.com/show_bug.cgi?id=8239

Post Reply