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
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
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
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
is working on a reply...