You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pa...@apache.org on 2019/10/03 07:03:00 UTC
svn commit: r1867904 -
/ofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml
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">