ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sic...@apache.org
Subject svn commit: r489516 - /incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/promo/PromoServices.java
Date Fri, 22 Dec 2006 00:04:23 GMT
Author: sichen
Date: Thu Dec 21 16:04:22 2006
New Revision: 489516

URL: http://svn.apache.org/viewvc?view=rev&rev=489516
Log:
fixed incorrect entity name used in remove store promo service

Modified:
    incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/promo/PromoServices.java

Modified: incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/promo/PromoServices.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/promo/PromoServices.java?view=diff&rev=489516&r1=489515&r2=489516
==============================================================================
--- incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/promo/PromoServices.java
(original)
+++ incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/promo/PromoServices.java
Thu Dec 21 16:04:22 2006
@@ -90,7 +90,7 @@
             EntityListIterator eli = delegator.findListIteratorByCondition("ProductStorePromoAndAppl",
cond, null, null);
             GenericValue productStorePromoAndAppl = null;
             while ((productStorePromoAndAppl = (GenericValue) eli.next()) != null) {
-                GenericValue productStorePromo = delegator.makeValue("ProductStorePromo",
null);
+                GenericValue productStorePromo = delegator.makeValue("ProductStorePromoAppl",
null);
                 productStorePromo.setAllFields(productStorePromoAndAppl, true, null, null);
                 productStorePromo.remove();
             }



Mime
View raw message