You have no items in your shopping cart.

Profile: andy@povkhan.com

Avatar
Statistics
    Bugs

    Got it. Thanks again!

    6 years ago
    Bugs

    Oh, thanks! I checked the Changelog on the product's page and didn't see it mentioned so I didn't know the newer version was already available.

    6 years ago
    Bugs

    Thank you. I confirm that the fix solves the problem in the default nopCommerce code.

    When are you going to release a new version of the plugin with the fix?

    6 years ago
    Bugs

    Apparently, I've found a bug related to discounts.

    Steps to reproduce:
    1. Create a discount for order subtotal that requires a coupon code to be entered.
    2. A customer enters the code on the shopping cart page, applies it, sees the discount but does not complete the order yet.
    3. Remove that discount in the admin panel.

    Now when this customers tries to complete the order it results in the unhandled exception (see below). The only way for this customer to complete the order seems to be to recreate the discount with the same code in the admin panel and have him remove the code from his cart before proceeding.

    Object reference not set to an instance of an object.
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       FoxNetSoft.Plugin.Misc.SimpleCheckout.Controllers.SimpleCheckoutController.PrepareDiscountBoxModel(DiscountBoxModel model) +227
       FoxNetSoft.Plugin.Misc.SimpleCheckout.Controllers.SimpleCheckoutController.PrepareSimpleCheckoutModel(SimpleCheckoutModel model, IList`1 cart, Address newPrimaryAddress, Address newSecondaryAddress) +1467
       FoxNetSoft.Plugin.Misc.SimpleCheckout.Controllers.SimpleCheckoutController.SimpleCheckout() +1819
       lambda_method(Closure , ControllerBase , Object[] ) +62
       System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
       System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +157
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
       System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +22
       System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +29
       System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
       System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +50
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +228
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +228
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +228
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +228
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +228
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +228
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +228
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +228
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +228
       System.Web.Mvc.Async.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult) +10
       System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10
       System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
       System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +26
       System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +100
       System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10
       System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
       System.We

    6 years ago

    Powered by nopCommerce

    Copyright © 2023 FoxNetSoft. All rights reserved