You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/10/04 10:11:38 UTC
svn commit: r1004139 -
/ofbiz/trunk/applications/accounting/widget/PaymentMethodTypeForms.xml
Author: jleroux
Date: Mon Oct 4 08:11:38 2010
New Revision: 1004139
URL: http://svn.apache.org/viewvc?rev=1004139&view=rev
Log:
Fixes https://issues.apache.org/jira/browse/OFBIZ-3934 - OFBIZ-3934 " paymentMethodTypeId: Found this error when changing the records to show in the paginated list."
It was missing a paginate-target, hence the default target was used and, as it's updatePaymentMethodType, a security issue was raised when changes have occurred before the pagination. There are maybe other cases like this that will pop up from time to time...
Modified:
ofbiz/trunk/applications/accounting/widget/PaymentMethodTypeForms.xml
Modified: ofbiz/trunk/applications/accounting/widget/PaymentMethodTypeForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/PaymentMethodTypeForms.xml?rev=1004139&r1=1004138&r2=1004139&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/PaymentMethodTypeForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/PaymentMethodTypeForms.xml Mon Oct 4 08:11:38 2010
@@ -22,7 +22,7 @@ under the License.
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
<form name="ListPaymentMethodType" type="list" target="updatePaymentMethodType" list-name="paymentMethodTypes"
- odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+ odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="editPaymentMethodType">
<field name="paymentMethodTypeId"><display/></field>
<field name="description"><display/></field>
<field name="defaultGlAccountId" parameter-name="defaultGlAccountId">