Fixed: When add item on shopping cart, we lost orderItemAttributes
(OFBIZ-10906)
Backport: When you add an item on the cart with some orderItemAttributes with the function
/** add rental (with accommodation) item to cart and order item attributes*/
public int addOrIncreaseItem(...too long...)
OrderItemAttributes didn't throw to the second function and we lost them.
Thanks to Leila Mekika to found it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release18.12@1856881 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-1
@@ -528,7 +528,7 @@ public class ShoppingCart implements Iterable<ShoppingCartItem>, Serializable {
|
||||
String accommodationMapId, String accommodationSpotId, Timestamp shipBeforeDate, Timestamp shipAfterDate, Map<String, GenericValue> features, Map<String,Object> attributes,
|
||||
Map<String, String> orderItemAttributes, String prodCatalogId, ProductConfigWrapper configWrapper, String itemType, String itemGroupNumber,
|
||||
String parentProductId, LocalDispatcher dispatcher) throws CartItemModifyException, ItemNotFoundException {
|
||||
return addOrIncreaseItem(productId, selectedAmount, quantity, reservStart, reservLength, reservPersons, accommodationMapId, accommodationSpotId, shipBeforeDate, shipAfterDate, null, features, attributes, null, prodCatalogId, configWrapper, itemType, itemGroupNumber, parentProductId, dispatcher);
|
||||
return addOrIncreaseItem(productId, selectedAmount, quantity, reservStart, reservLength, reservPersons, accommodationMapId, accommodationSpotId, shipBeforeDate, shipAfterDate, null, features, attributes, orderItemAttributes, prodCatalogId, configWrapper, itemType, itemGroupNumber, parentProductId, dispatcher);
|
||||
}
|
||||
|
||||
/** add rental (with accommodation) item to cart and order item attributes*/
|
||||
|
||||
Reference in New Issue
Block a user