I'm hoping someone may be able to assist me with a weird bug I've encountered with the Merchello when attempting to create a shipment. The error reads as follows:
"There was an error parsing the query. [ Token line number = 1,Token line offset = 518,Token in error = UPDATE ]"
I've pinpointed the exception to being thrown in the function SaveDetachedContents(IEnumerabel
I've pulled the sqlStatement to see what could be causing the issue and it reads as follows:
Using the debugger I've removed the second update statement and executed the code with just everything up to @7 and the shipment gets created, but I'm assuming that it's not updating the inventory or something of the sort? I tried pulling merchello head of github and issue persists there.
After letting things run their course some more I noticed the issue occurs explicitly when there are only two variants in the order. Currently my work around, that appears to be working, is changing the sqlStatement variable in SaveDetachedContents to be a List
Error Parsing Query When Fulfilling Shipment
Hello everyone,
I'm hoping someone may be able to assist me with a weird bug I've encountered with the Merchello when attempting to create a shipment. The error reads as follows:
I've pinpointed the exception to being thrown in the function SaveDetachedContents(IEnumerabel
I've pulled the sqlStatement to see what could be causing the issue and it reads as follows:
Using the debugger I've removed the second update statement and executed the code with just everything up to @7 and the shipment gets created, but I'm assuming that it's not updating the inventory or something of the sort? I tried pulling merchello head of github and issue persists there.
Can anyone advise me on this one?
Note that I am using SQLCE for this case
Thanks!
Michael Griffith
After letting things run their course some more I noticed the issue occurs explicitly when there are only two variants in the order. Currently my work around, that appears to be working, is changing the sqlStatement variable in SaveDetachedContents to be a List
is working on a reply...