Jun 30, 2017
Aug 14, 2017
Core
Closed, Fixed and tested
The method IOrderGroupExtensions.CopyLineItems(this IOrderGroup orderGroup, OrderForm sourceOrderForm, IOrderForm destinationOrderForm, IOrderGroupFactory orderGroupFactory) does not work correctly.
Expected: When copying a line item from a source form, it should check to see if a line item exists with the same code in the destination form.
Actual: A new line item is always created.
The current behavior might lead to an issue reported in Episerver World: http://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2017/6/issue-with-merging-cart-after-login-if-sku-already-exists-in-users-cart/?pageIndex=1#reply