Hi,
Using Dnn 6.2.4 with Smith Cart 5.22.
Settings used in SC : 'Apply EU VATRegulations' and 'Show prices with and without VAT included'
When using the settings above, nothing can be done in the Product detail page : any action will cause the page to be reloaded without any change. For example, changing a variant do not change it (so is the price), clicking the 'Add to cart', 'Continue shopping'... buttons does nothing.
In the event viewer, an exception occurs:
11/14/2012 12:43:12 PM Module Load Exception
AssemblyVersion: 6.2.4
ActiveTabName: ProductDetail
RawURL: /Default.aspx?tabid=87&def=ErrorMessage
AbsoluteURL: /Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: b534f291-ff26-4567-8c8e-9796f2597d09
InnerException: Value cannot be null. Parameter name: format
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.Format
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: format ---> System.ArgumentNullException: Value cannot be null. Parameter name: format at System.String.Format(IFormatProvider provider, String format, Object[] args) at Smith.DNN.Modules.BuyNow.EUVATUtil.GetDisplayPriceIncVAT(Decimal productBasePrice, Double productTaxRate, Int32 buyNowTabId, String VATIncLabel) at Smith.DNN.Modules.ProductDetail.ProductMain.BindDetails() at Smith.DNN.Modules.ProductDetail.ProductMain.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
It seems the String.Format method in GetDisplayPriceIncVAT throws an exception that is not correctly handled.
Note that I am using the en-US culture in Dnn but the price decimal separator is a comma.
When I choose the 'Show prices with VAT included' or 'Show prices without VAT', the problem do not occur.
|
|