[jira] [Commented] (OFBIZ-7362) Add paginate target to list forms to fix the pagination error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-7362) Add paginate target to list forms to fix the pagination error

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-7362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380660#comment-15380660 ]

Amardeep Singh Jhajj commented on OFBIZ-7362:
---------------------------------------------

Here are the forms i found in Accounting component where we need to add paginate-target. We need to check each form before adding paginate target and we can break this work in child tasks.

AR InvoiceForms.xml

1. ListReports

AP  InvoiceForms.xml

1. ListReports

AccountingForms.xml

1. ListAgreementItemProductsForReport
2. ListAgreementItemSupplierProductsForReport
3. ListAgreementWorkEffortApplics

BillingAccountsForms.xml

1. ListBillingAccountRoles

CostForms.xml

1. ListCostComponentCalc

FinAccountForms.xml

1. ListFinAccountRoles
2. ListFinAccountAuths
3. ListDepositSlips
4. ListDepositSlipMember
5. ListFinAccountReconciliations

FixedAssetForma.xml

1. ListFixedAssets
2. ListFixedAssetProducts
3. ListFixedAssetIdents
4. ListFixedAssetRegistrations
5. ListFixedAssetMaintOrders
6. ListPartyFixedAssetAssignments
7. ListFixedAssetDepMethods
8. ListFixedAssetDepreciations
9. FixedAssetTransactions
10. GlobalFixedAssetTypeGlAccounts
11. FixedAssetTypeGlAccounts

GlForms.xml

1. ListAcctgTrans
2. ListUnpostedAcctgTrans
3. ListFindAcctgTransEntriesByAccount
4. ListFindAcctgTransEntriesByDate
5. ListAcctgTransEntries
6. ListGlReconciliationEntries
7. ListGlAccountReconciliations
8. ViewAcctgTransEntries

GlobalGlAccountForms.xml

1. ListGlAccountOrganization
2. ListGlAccount
3. ListAcctgTransEntries
4. ListGlReconciliations
5. ListGlReconciliationEntries

GlSetupForms.xml

1. "ListCompanies"
2. ListConversions
3. ListGlAccountTypeDefaults
4. ListSalInvoiceItemTypeGlAssignments
5. ListPurInvoiceItemTypeGlAssignments
6. ListPaymentTypeGlAssignments
7. ListPaymentMethodTypeGlAssignments
8. ListClosedTimePeriods
9. ListOpenTimePeriods
10. ListGlJournals
11. ListProductGlAccounts
12. ListFinAccountTypeGlAccounts
13. ListProductCategoryGlAccounts
14. ListVarianceReasonGlAccounts
15. ListCreditCardTypeGlAccounts
16. ListTaxAuthorityGlAccounts
17. AddTaxAuthorityGlAccount
18. ListPartyGlAccounts
19. ListGlAccountCategoryMember
20. FixedAssetTypeGlAccounts

Invoicesforms.xml

1. ListInvoiceApplications
2. AcctgTransAndEntries
3. ListInvoiceTerms
4. EditInvoiceApplications
5. ListPaymentsNotApplied
6. EditTimeEntries
7. ListTimeEntries
8. ListInvoicePaymentInfo

PaymentForms.xml

1. editPaymentApplicationsInv
2. editPaymentApplicationsPay
3. editPaymentApplicationsTax
4. editPaymentApplicationsTax
5. listInvoicesNotApplied
6. listPaymentsNotApplied
7. paymentApplications
8. AcctgTransAndEntries
9. ListChecksToSend
10. ListInvoicesByDueDate

PaymentGatewayConfigForms.xml

1. ListPaymentGatewayConfig
2. ListPaymentGatewayConfigTypes

PaymentGroupForms.xml

1. ListPaymentGroupMember
2. PaymentGroupMembers

ReportFinancialSummaryForms.xml

1. IncomeStatementRevenues
2. IncomeStatementExpenses
3. IncomeStatementIncome
4. ComparativeIncomeStatementRevenues
5. ComparativeIncomeStatementExpenses
6. ComparativeIncomeStatementIncome
7. BalanceSheetAssets
8. BalanceSheetLiabilities
9. BalanceSheetEquities
10. BalanceTotals
11. ComparativeBalanceSheetAssets
12. ComparativeBalanceSheetLiabilities
13. ComparativeBalanceSheetEquities
14. ComparativeBalanceTotals
15. PostedTransactionTotalList
16. UnpostedTransactionTotalList
17. PostedAndUnpostedTransactionTotalList
18. InventoryValuationList
19. TrialBalanceReport
20. CashFlowStatementOpeningCashBalance
21. CashFlowStatementPeriodCashBalance
22. ComparativeCashFlowStatementPeriodCashBalance
23. ComparativeCashFlowStatementClosingCashBalance
24. ComparativeCashFlowBalanceTotals

TaxAuthorityForms.xml

1. FindTaxAuthority
2. ListTaxAuthorityCategories
3. ListTaxAuthorityAssocs
4. ListTaxAuthorityGlAccounts
5. ListTaxAuthorityRateProducts
6. ListTaxAuthorityParties

TransactionForms.xml

1. ViewGatewayResponsePayments

> Add paginate target to list forms to fix the pagination error
> -------------------------------------------------------------
>
>                 Key: OFBIZ-7362
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7362
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: Trunk
>            Reporter: Amardeep Singh Jhajj
>            Assignee: Amardeep Singh Jhajj
>
> I found issue in pagination on some screens when we do any operation (like update, delete) on list item.
> For example: I have updated the content type from list in Content Setup Menu in Content application and then clicked on next link of pagination, I got the following error:
> {code}
> The Following Errors Occurred:
> Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [contentTypeId] passed to secure (https) request-map with uri [updateContentType] with an event that calls service [updateContentType]; this is not allowed for security reasons!
> {code}
> The above error is unexpected as I just tried to see next list records of ContentType. The reason of error is pagination URL which is same as URL of page i.e. updateContentType. This URL is the update operation URL and it is not redirected to appropriate page after operation.
> Pagination target URL should be independent of page URL and it should be added on form using paginate-target attribute of form widget.
> This is a parent ticket and child tickets will be added in it for components.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)