Details
Description
When you clone a ShoppingCartItem by constructor
new ShoppingCartItem(ShoppingCartItem item)
Values contains on list OrderItemAttributes aren't propage to the new shoppingCartItem due to (ShoppingCartItem.java:682)
if (UtilValidate.isEmpty(item.getOrderItemAttributes())) { this.orderItemAttributes = new HashMap<>(); this.orderItemAttributes.putAll(item.getOrderItemAttributes()); }
isEmpty instead of isNotEmpty