svn commit: r613837 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r613837 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java

bibryam
Author: bibryam
Date: Mon Jan 21 02:44:55 2008
New Revision: 613837

URL: http://svn.apache.org/viewvc?rev=613837&view=rev
Log:
Fixed a bug reported by Raj Saini in JIRA Issue # OFBIZ-1584 "Adding a variant product multiple time creates new shopping cart line item instead of incrementing the quantity count".

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java?rev=613837&r1=613836&r2=613837&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java Mon Jan 21 02:44:55 2008
@@ -191,7 +191,7 @@
                 try {
                     productFeatureAndAppl = EntityUtil.getFirst(EntityUtil.filterByDate(delegator.findByAnd("ProductFeatureAndAppl",
                                                                                     UtilMisc.toMap("productId", productId,
-                                                                                                   "productFeatureId", selectedFeatureValue))));
+                                                                                                   "productFeatureTypeId", selectedFeatureType))));
                 } catch (GenericEntityException gee) {
                     Debug.logError(gee, module);
                 }