Author: doogie
Date: Tue Nov 30 22:03:51 2010
New Revision: 1040800
URL:
http://svn.apache.org/viewvc?rev=1040800&view=revLog:
Fix method updateProductWithReviewRatingAvg, it wasn't storing the productId correctly.
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml?rev=1040800&r1=1040799&r2=1040800&view=diff==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml Tue Nov 30 22:03:51 2010
@@ -620,7 +620,7 @@ under the License.
<if-empty field="productCalculatedInfo">
<!-- go ahead and create it -->
<make-value value-field="productCalculatedInfo" entity-name="ProductCalculatedInfo"/>
- <set from-field="parameters.productId" field="productCalculatedInfo.productId"/>
+ <set from-field="productId" field="productCalculatedInfo.productId"/>
<set from-field="averageCustomerRating" field="productCalculatedInfo.averageCustomerRating"/>
<create-value value-field="productCalculatedInfo"/>
<else>