I'm trying to remove all traces of workflows but I have one problem with the cart.
Before saving the cart I have lineitems in my shipment but as soon as I call
The shipment no longer has LineItems but they are still there in the OrderForm.
If I add a new item in the cart I get a new shipment with one lineitem and two items in the orderform.
I then call the save method again and the shipment ends up with no items but there is still two items in the orderform?
Any idea what could cause this problem?
No I don't have any idea. But if you can add the full source code here, and the data in the debugger before saving to database - I would venture a guess :)
Look like I had som "old school" stuff left over:
shipment.ShippingAddress.Id = checkoutViewModel.ShippingAddresses.First().Name;
I think this line of code made the added shipment to be removed. In the old Quicksilver Name was a guid but now it is the actual name. I removed that and the shipment stays intact.