Copied to clipboard

Flag this post as spam?

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


  • Matt Taylor 859 posts 2052 karma points
    Sep 28, 2013 @ 19:30
    Matt Taylor
    0

    GetStock doesn't refresh when you change the value in the backend

    In version 1.4.2, I've noticed that if you ammend the stock level of a product in the editor, save and publish and then call GetStock to see what it's value is you get the old value.

    It doesn't update until you recycle the app pool.

    Might be worth seeing if it does the same in V2.

    Regards,

    Matt

  • Anders Burla Johansen 2560 posts 8256 karma points
    Sep 30, 2013 @ 12:36
    Anders Burla Johansen
    0

    Hi Matt

    I think this is an error introduced because the Umbraco API events changed a bit. Have you the latest 1.x version installed? And what Umbraco version do you have?

    Kind regards
    Anders

  • Matt Taylor 859 posts 2052 karma points
    Sep 30, 2013 @ 13:19
    Matt Taylor
    0

    Hi Anders,

    The site is running some old versions of everything, Umbraco 4.7.0 and TC 1.4.2.0.

    Regards,

    Matt

  • Anders Burla Johansen 2560 posts 8256 karma points
    Sep 30, 2013 @ 13:28
    Anders Burla Johansen
    0

    Hmm yeah okay. Try and update and see if that helps :)

  • Matt Taylor 859 posts 2052 karma points
    Sep 30, 2013 @ 13:32
    Matt Taylor
    0

    Yes, it's not a big problem at the moment for my client.

    We'll see if that's what they want to do. The purpose of the post was mainly to let you guys know in case the problem still existed in the latest version. :-)

    Cheers,

    Matt

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies