productVariantId no longer exist in RC3

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
tomascarpio5
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Mon Sep 03, 2007 7:16 pm
Contact:

productVariantId no longer exist in RC3

Post by tomascarpio5 » Tue Apr 01, 2008 1:56 pm

Hi,
After we upgrade our ac7 to RC3 we started getting errors like the one below.

\ConLib\GisCustom\BuyProductDialog.ascx.cs(187): error CS1502: The best overloaded method match for 'CommerceBuilder.Orders.BasketItemDataSource.CreateForProduct(int, short, string, System.Collections.Generic.List<int>)' has some invalid arguments

Looking at the code, it shows that productVariantId was replaced with optionList but when I started to modify the code , I did start getting another error like 'ASP.conlib... does not have productVariantID.

Since we did create custom conlib libraries using the said method, what is the best way to fix the problem?

Please let me know if you guys need more details.

Thanks!

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: productVariantId no longer exist in RC3

Post by jmestep » Tue Apr 01, 2008 4:36 pm

I had that problem, so I took the new file and customized it like I had the old one. I didn't try to patch my customized version.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: productVariantId no longer exist in RC3

Post by Logan Rhodehamel » Tue Apr 01, 2008 6:02 pm

Judy's approach is the best one. I hated to have to make this change, but live trials of RC2 showed it was necessary.

In RC3, we updated ALL of the ConLib controls so that you should no longer have to copy them all to customize one. The paths that point to other dependencies were corrected so they continue to work when moved.

So keep that in mind if you've been one who copied everything over to customize a single control

The new controls with ProductVariantId changes can either be re-customized, or you can use a text differencing tool to match up the changes.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: productVariantId no longer exist in RC3

Post by jmestep » Wed Apr 02, 2008 8:07 am

In RC3, we updated ALL of the ConLib controls so that you should no longer have to copy them all to customize one. The paths that point to other dependencies were corrected so they continue to work when moved.
Logan, thanks for that. I've had to customize files in the Conlib folder and not move them to Conlib/Custom because of other dependencies.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: productVariantId no longer exist in RC3

Post by Logan Rhodehamel » Wed Apr 02, 2008 10:23 am

jmestep wrote:Logan, thanks for that. I've had to customize files in the Conlib folder and not move them to Conlib/Custom because of other dependencies.
Well, thank Sohaib! He's the one who caught on to the issue and corrected it. :)
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

tomascarpio5
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Mon Sep 03, 2007 7:16 pm
Contact:

Re: productVariantId no longer exist in RC3

Post by tomascarpio5 » Wed Apr 02, 2008 7:45 pm

Hi Guys,
Great! Thanks for the quick reply. I'll work on it and see how it goes...

Regards,

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: productVariantId no longer exist in RC3

Post by jmestep » Thu Apr 03, 2008 8:04 am

Thank you, Sohaib!
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply