svn commit: r1867904 - /ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml

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

svn commit: r1867904 - /ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml

Pawan Verma-2
Author: pawan
Date: Thu Oct  3 07:02:59 2019
New Revision: 1867904

URL: http://svn.apache.org/viewvc?rev=1867904&view=rev
Log:
Fixed: User is unable to update the review of product
(OFBIZ-10799)

Redirected request with eligible parameters so that If the user had a search using any parameter result should persist after the update.

Thanks: Ashish Sharma for report and Pierre Smits and Jacques Le Roux for the review.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml?rev=1867904&r1=1867903&r2=1867904&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml Thu Oct  3 07:02:59 2019
@@ -2459,7 +2459,12 @@ under the License.
     <request-map uri="updateProductReview">
         <security https="true" auth="true"/>
         <event type="service" path="" invoke="updateProductReview"/>
-        <response name="success" type="request-redirect-noparam" value="FindReviews"/>
+        <response name="success" type="request-redirect" value="FindReviews">
+            <redirect-parameter name="noConditionFind" value="Y"/>
+            <redirect-parameter name="productId"/>
+            <redirect-parameter name="statusId"/>
+            <redirect-parameter name="productReview"/>
+        </response>
         <response name="error" type="view" value="FindReviews"/>
     </request-map>
     <request-map uri="FindReviews">