svn commit: r1859698 - /ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/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: r1859698 - /ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml

jleroux@apache.org
Author: jleroux
Date: Wed May 22 08:12:51 2019
New Revision: 1859698

URL: http://svn.apache.org/viewvc?rev=1859698&view=rev
Log:
Fixed: Replace request-redirect w/ no redirect-param attribute by
request-redirect-noparam
(OFBIZ-9997)

Reverts r1859694 request-redirect-noparam is required else the deleted
ProductManufacturingRule is shown in the edit/update screen with the deleted
ruleId.

I was misleaded because this screen is not standard at all. I guess it's not
much used since it's like that for ages

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

Modified: ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml?rev=1859698&r1=1859697&r2=1859698&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml Wed May 22 08:12:51 2019
@@ -449,8 +449,8 @@ under the License.
     <request-map uri="DeleteProductManufacturingRule">
         <security https="true" auth="true"/>
         <event type="service" invoke="deleteProductManufacturingRule"/>
-        <response name="success" type="view" value="EditProductManufacturingRules"/>
-        <response name="error" type="view" value="EditProductManufacturingRules"/>
+        <response name="success" type="request-redirect-noparam" value="EditProductManufacturingRules"/>
+        <response name="error" type="request-redirect-noparam" value="EditProductManufacturingRules"/>
     </request-map>
 
     <!-- MRP request mappings -->