svn commit: r944177 - in /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog: InlineProductDetail.groovy ProductDetail.groovy

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

svn commit: r944177 - in /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog: InlineProductDetail.groovy ProductDetail.groovy

lektran
Author: lektran
Date: Fri May 14 09:46:46 2010
New Revision: 944177

URL: http://svn.apache.org/viewvc?rev=944177&view=rev
Log:
Removed use of deprecated method ProductWorker.getProductvirtualVariantMethod(Delegator, String)

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy?rev=944177&r1=944176&r2=944177&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/InlineProductDetail.groovy Fri May 14 09:46:46 2010
@@ -150,7 +150,7 @@ if (inlineProduct) {
     context.variantSampleKeys = null;
     context.variantSampleSize = null;
     if ("Y".equals(inlineProduct.isVirtual)) {
-        if ("VV_FEATURETREE".equals(ProductWorker.getProductvirtualVariantMethod(delegator, inlineProductId))) {
+        if ("VV_FEATURETREE".equals(ProductWorker.getProductVirtualVariantMethod(delegator, inlineProductId))) {
             context.featureLists = ProductWorker.getSelectableProductFeaturesByTypesAndSeq(inlineProduct);
         } else {
             featureMap = dispatcher.runSync("getProductFeatureSet", [productId : inlineProductId]);

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy?rev=944177&r1=944176&r2=944177&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy Fri May 14 09:46:46 2010
@@ -236,7 +236,7 @@ if (product) {
 
     // Special Variant Code
     if ("Y".equals(product.isVirtual)) {
-        if ("VV_FEATURETREE".equals(ProductWorker.getProductvirtualVariantMethod(delegator, productId))) {
+        if ("VV_FEATURETREE".equals(ProductWorker.getProductVirtualVariantMethod(delegator, productId))) {
             context.featureLists = ProductWorker.getSelectableProductFeaturesByTypesAndSeq(product);
         } else {
             featureMap = dispatcher.runSync("getProductFeatureSet", [productId : productId]);