Copied to clipboard

Flag this post as spam?

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


  • seanrock 262 posts 483 karma points
    Jun 23, 2020 @ 08:47
    seanrock
    0

    Exception when adding an item to the cart when the product property alias list contains a property that is not defined

    So I added a Product Property Alias that doesn't actually exist and when I add an item to the cart i get the error below. I'd expect, and probably better if it silently failed but still add the item to the cart.

    Cannot insert the value NULL into column 'value', table 'VendrDemo.dbo.vendrOrderLineProperty'; column does not allow nulls. INSERT fails

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jun 23, 2020 @ 08:58
    Matt Brailsford
    100

    What version of Vendr are you using? I just tested this on the latest version and I didn't get the error

    There was a fix for a similar issue in 1.2.4 https://vendr.net/docs/core/changelog/#v124 so if you are on a previous version, upgrading may fix this for you.

    /Matt

  • seanrock 262 posts 483 karma points
    Jun 23, 2020 @ 09:14
    seanrock
    1

    Hi Matt

    You're correct. I've got two solutions running, one for reference and for real stuff. I hadn't updated the reference solution. All ok. Thanks

Please Sign in or register to post replies

Write your reply to:

Draft