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!
productVariantId no longer exist in RC3
-
- Ensign (ENS)
- Posts: 17
- Joined: Mon Sep 03, 2007 7:16 pm
- Contact:
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: productVariantId no longer exist in RC3
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
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
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: productVariantId no longer exist in RC3
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.
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
.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.
Logan

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.
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: productVariantId no longer exist in RC3
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.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.
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
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
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: productVariantId no longer exist in RC3
Well, thank Sohaib! He's the one who caught on to the issue and corrected it.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.

Cheers,
Logan
.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.
Logan

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.
-
- Ensign (ENS)
- Posts: 17
- Joined: Mon Sep 03, 2007 7:16 pm
- Contact:
Re: productVariantId no longer exist in RC3
Hi Guys,
Great! Thanks for the quick reply. I'll work on it and see how it goes...
Regards,
Great! Thanks for the quick reply. I'll work on it and see how it goes...
Regards,
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: productVariantId no longer exist in RC3
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
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