Page 1 of 1

error after upgrading to 7.03 from 7.02

Posted: Fri Dec 11, 2009 3:05 pm
by simpleweb
I get an error as soon as I upgraded to the new version.

The call is ambiguous between the following methods or properties: 'CommerceBuilder.Products.ProductCalculator.LoadForProduct(int, short, string, System.Collections.Generic.List<int>)' and 'CommerceBuilder.Products.ProductCalculator.LoadForProduct(int, short, string, string)'

not sure what the problem is

Re: error after upgrading to 7.03 from 7.02

Posted: Fri Dec 11, 2009 4:05 pm
by jmestep
You have some custom code that needs to be upgraded. For example, one place would be in the ConLib/Utility/ProductPrice.ascx.cs

ProductCalculator pcalc = ProductCalculator.LoadForProduct(_Product.ProductId, 1, _OptionList, AlwaysConvert.ToList(",", _SelectedKitProducts), Token.Instance.UserId, true);

Re: error after upgrading to 7.03 from 7.02

Posted: Sun Dec 13, 2009 10:36 am
by simpleweb
It worked. thanks jmestep