Author: jleroux
Date: Mon May 24 15:48:30 2010
New Revision: 947679
URL:
http://svn.apache.org/viewvc?rev=947679&view=revLog:
A patch from Ankit Jain "Security issue in update store payment setting."
https://issues.apache.org/jira/browse/OFBIZ-2395 - OFBIZ-2395
Steps:
1) Go to catalog > Stores > Select OFBiz E-Commerce Store
2) Click on Payment tab.
Now there are two options. Error come only with one of them.
Option 1: Edit any Payment Method. Submit the form at the bottom. Now click on NEXT link, you will see the error.
Option 2: Click on NEXT link, no errors.
Modified:
ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml
Modified: ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml?rev=947679&r1=947678&r2=947679&view=diff==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml Mon May 24 15:48:30 2010
@@ -1052,7 +1052,7 @@
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
- <form name="ListProductStorePaymentSettings" type="list" odd-row-style="alternate-row" default-table-style="basic-table">
+ <form name="ListProductStorePaymentSettings" type="list" odd-row-style="alternate-row" default-table-style="basic-table" paginate-target="EditProductStorePaySetup">
<actions>
<entity-and entity-name="ProductStorePaymentSetting">
<field-map field-name="productStoreId"/>