Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter 27 posts 192 karma points
    Jul 20, 2017 @ 10:38
    Peter
    0

    Upgrading Merchello from 2.3.1 to 2.4.0 causing issue in backoffice

    Hey,

    I just upgraded merchello from 2.3.1 to 2.4.0, and everything seems to be working fine except for this one thing:

    When I go to Sales and click on an item, I get the following error.

    enter image description here

    I would debug it if I could, but I have not been able to find the source code for version 2.4.0 anywhere.

    Can someone tell me what is wrong and how to fix it?

    BR Peter

  • Puck Holshuijsen 183 posts 726 karma points
    Jul 20, 2017 @ 10:52
    Puck Holshuijsen
    0

    If you click on the caret in front of GET, do you see more information?

  • Peter 27 posts 192 karma points
    Jul 20, 2017 @ 11:04
    Peter
    0

    There was no more relevant information to be had from the console.

    However I suspect that the problem may have been due to caching - 3 hours with this problem and now suddenly its gone.

    Thanks for replying though, I hope I wont see the error again ^^

  • Peter 27 posts 192 karma points
    Jul 21, 2017 @ 07:15
    Peter
    100

    I upgraded Merchello to 2.5 in order to debug the problem (as it resurfaced), and it seems to be a problem in my merchello.config file during merge.

    I had commented out both InvoiceItemizationStrategy lines:

    <strategy alias="InvoiceItemizationStrategy" type="Merchello.Core.Strategies.Itemization.DefaultInvoiceItemizationStrategy, Merchello.Core" />
    <strategy alias="InvoiceItemizationStrategy" type="Merchello.Core.Strategies.Itemization.ProductBasedTaxationInvoiceItemazationStrategy, Merchello.Core" />
    

    ..which would cause GetInvoiceItemItemization() to fail deeper down in ItemizeItems()

    var type = MerchelloConfiguration.Current.GetStrategyElement(Constants.StrategyTypeAlias.InvoiceItemizationStrategy).Type;
    

    I now use the DefaultInvoiceItemizationStrategy and everything seems fine.

Please Sign in or register to post replies

Write your reply to:

Draft