I am using 1.6.1-GA.
I am using BundleOrderItem and adding DiscreteOrderItems to the Bundle Order. When creating the Order I am also adding some additional attributes in Bundle Order level and Discrete Order Item level.
I added Bundle Order to cart ..then I took the same product and added with different additional attributes. What is happening now is ....cart is updated with quantity as 2. Thus I am loosing my additional attributes added to the second Bundle Order.
The additional data I add to each order is different, I think when checking for similar order, the order item additional attributes also would need to be checked before combining the OrderItem and updating its quantity.
Another strange behavior observed was that, when I added the Bundle Order with same attributes, it added as a new item. But when I tried to change the attribute value to a different value or add a new additional attribute, it updated the quantity. This looks opposite to what the logic should be. Thought this might be helpful for your analysis
Please advise.
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.