svn commit: r1183651 - /ofbiz/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: r1183651 - /ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml

jleroux@apache.org
Author: jleroux
Date: Sat Oct 15 14:39:39 2011
New Revision: 1183651

URL: http://svn.apache.org/viewvc?rev=1183651&view=rev
Log:
A patch from Deepak Dixit "Removing product association from catalog product assoc page, result page shows error message." https://issues.apache.org/jira/browse/OFBIZ-4484

Removing product association from catalog product assoc page, result page shows error message.
"Association not found: Product Id=, Product Id To=, Association Type Id=, From Date="


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

Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml?rev=1183651&r1=1183650&r2=1183651&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml Sat Oct 15 14:39:39 2011
@@ -826,7 +826,9 @@ under the License.
     <request-map uri="UpdateProductAssoc">
         <security https="true" auth="true"/>
         <event type="java" path="org.ofbiz.product.product.ProductEvents" invoke="updateProductAssoc"/>
-        <response name="success" type="view" value="EditProductAssoc"/>
+        <response name="success" type="request-redirect" value="EditProductAssoc">
+            <redirect-parameter name="productId"/>
+        </response>
         <response name="error" type="view" value="EditProductAssoc"/>
     </request-map>