Hi there,
In a solution we're updating the values of a custom orderlinefield in Cart.Line.Added. We used call the save method of the orderline in that process, which is actually not needed. But since we did it an received a strange exception because of primary key violation, I'm writing you anyway.
We submit two lines from a BOM in the same process, but I discovered, there was a mix up with the orderline IDs. Using the profiler I could see that ecommerce loads the orderline with one id(@p21 = 'OL12208'), but updates the orderline id with a different value, (@p1 = 'OL12207'). I've attached the output from SQL profiler for further study.
BR.
Lars
Developer forum
E-mail notifications
API bug?
Lars Hejgaard Sørensen
Replies
Jeppe Eriksson Agger
Posted on 04/07/2011 14:17:08
Hi Lars
Which version are you using? We've had a similar issue internally, but the affected version has--to the best of my knowledge--not been released.
- Jeppe
Lars Hejgaard Sørensen
Posted on 04/07/2011 15:40:35
19.2.2.2
BTW I'm still not receiving mail notifications from the forum.
/Lars
BTW I'm still not receiving mail notifications from the forum.
/Lars
Imar Spaanjaars
Posted on 04/07/2011 16:56:06
BTW I'm still not receiving mail notifications from the forum.You may need to subscribe to each category again. I had issues with subscriptions too, and they were fixed a few days ago...
Imar
Lars Hejgaard Sørensen
Posted on 05/07/2011 09:06:54
I'm just subscribing to individual threads, but will try your suggestion:)
Jeppe Eriksson Agger
Posted on 05/07/2011 15:22:11
With regard to the issue at hand. Have you tried a newer version of DW? Like I said, this is something we've had internally but the code should not have been released. If it turns out that the version you are using is indeed affected; a newer version should do the trick.
- Jeppe
- Jeppe
You must be logged in to post in the forum