Fixed issue where having multiple implicit carts (status: IN_PROCESS
& name: null
) or multiple IN_PROCESS
carts with the same non-null name leads to the following exception when looking up these carts: org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect result size: expected 1 at com.broadleafcommerce.cart.service.DefaultCartService.readByStatusAndCustomerIdAndAccountIdAndName(DefaultCartService.java:303)
When looking up implicit carts, if there are multiple for the customer, we now return the oldest one & transition the others into saved/named carts
When looking up named carts, we now return the oldest cart with a given name