svn commit: r1231902 - /ofbiz/branches/release10.04/applications/product/script/org/ofbiz/product/product/ProductServices.xml

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

svn commit: r1231902 - /ofbiz/branches/release10.04/applications/product/script/org/ofbiz/product/product/ProductServices.xml

mor-2
Author: mor
Date: Mon Jan 16 10:30:37 2012
New Revision: 1231902

URL: http://svn.apache.org/viewvc?rev=1231902&view=rev
Log:
Bug fix in update/approve product reviews caused by incorrect fetching of productId. Contribution from Arun Patidar.

Modified:
    ofbiz/branches/release10.04/applications/product/script/org/ofbiz/product/product/ProductServices.xml

Modified: ofbiz/branches/release10.04/applications/product/script/org/ofbiz/product/product/ProductServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/product/script/org/ofbiz/product/product/ProductServices.xml?rev=1231902&r1=1231901&r2=1231902&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/product/script/org/ofbiz/product/product/ProductServices.xml (original)
+++ ofbiz/branches/release10.04/applications/product/script/org/ofbiz/product/product/ProductServices.xml Mon Jan 16 10:30:37 2012
@@ -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>