Pagination Problem in Accounting Module
--------------------------------------- Key: OFBIZ-4158 URL: https://issues.apache.org/jira/browse/OFBIZ-4158 Project: OFBiz Issue Type: Bug Components: accounting Affects Versions: SVN trunk Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) Reporter: Naveen Kumar N Ofbiz Trunk Used (SVN Revision No): 1065553 In accounting module, the pagination is not working when the following request was performed. Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" Ofbiz throws the following error: "The Following Errors Occurred: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Naveen Kumar N updated OFBIZ-4158: ---------------------------------- Attachment: FindSalesInvoicesByDueDate.png Screenshot of the error message in the Accounting module showing an error in pagination. > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Labels: accounting, pagination > Attachments: FindSalesInvoicesByDueDate.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-4158: ----------------------------------- Issue Type: Sub-task (was: Bug) Parent: OFBIZ-2330 > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Labels: accounting, pagination > Attachments: FindSalesInvoicesByDueDate.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988750#comment-12988750 ] Jacques Le Roux commented on OFBIZ-4158: ---------------------------------------- Naveen, Was this URL typed in or generated by OFBiz? > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Labels: accounting, pagination > Attachments: FindSalesInvoicesByDueDate.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989062#comment-12989062 ] Naveen Kumar N commented on OFBIZ-4158: --------------------------------------- The URL was generated by OFBiz. > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Labels: accounting, pagination > Attachments: FindSalesInvoicesByDueDate.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991199#comment-12991199 ] Jacques Le Roux commented on OFBIZ-4158: ---------------------------------------- Could you help by reproducing on trunk demo, and let me know when it's done. I think you need to load/create some data (beware the demo is reloaded everyday between 7-8h AM GMT+1). Not need to put much, by editing the URL we can test the pagination with few lines only (3 to 5 should be enough) Thanks > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Labels: accounting, pagination > Attachments: FindSalesInvoicesByDueDate.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991944#comment-12991944 ] Naveen Kumar N commented on OFBIZ-4158: --------------------------------------- Hi Jacques, I've added some data to the current trunk demo server to reproduce the error message. Here is the link: https://demo-trunk.ofbiz.apache.org/accounting/control/findSalesInvoicesByDueDate?daysOffset=100&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1# Go to: Accounting >> Payments >> Find Sales Invoice by Due Date >> Then select "Company" as 'Organization Party Id' and a 'Days Offset' of "100" or more. >> Then try to use the pagination link to access the next 50 items to get the error. Thanks Naveen > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Labels: accounting, pagination > Attachments: FindSalesInvoicesByDueDate.png, Screenshot.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Naveen Kumar N updated OFBIZ-4158: ---------------------------------- Attachment: Screenshot.png Here is the screenshot of the error message generated by ofbiz when the pagination link was clicked to access the next 50 items. > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Labels: accounting, pagination > Attachments: FindSalesInvoicesByDueDate.png, Screenshot.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991952#comment-12991952 ] Jacques Le Roux commented on OFBIZ-4158: ---------------------------------------- Thanks Naveen, I will have a look before tomorrow morning... > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Labels: accounting, pagination > Attachments: FindSalesInvoicesByDueDate.png, Screenshot.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992389#comment-12992389 ] Jacques Le Roux commented on OFBIZ-4158: ---------------------------------------- OK, I have been able to reproduce locally and will work on this later > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Labels: accounting, pagination > Attachments: FindSalesInvoicesByDueDate.png, Screenshot.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4158. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Release Branch 10.04 Release Branch 09.04 Assignee: Jacques Le Roux Fixed in trunk at r1069597, R10.04 at r1069601, R9.04 at r1069600 > Pagination Problem in Accounting Module > --------------------------------------- > > Key: OFBIZ-4158 > URL: https://issues.apache.org/jira/browse/OFBIZ-4158 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: SVN trunk > Environment: Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_15-b03) > Reporter: Naveen Kumar N > Assignee: Jacques Le Roux > Labels: accounting, pagination > Fix For: Release Branch 09.04, Release Branch 10.04, SVN trunk > > Attachments: FindSalesInvoicesByDueDate.png, Screenshot.png > > > Ofbiz Trunk Used (SVN Revision No): 1065553 > In accounting module, the pagination is not working when the following request was performed. > Requested URL: "https://localhost:8443/accounting/control/findSalesInvoicesByDueDate?daysOffset=365&partyIdFrom=Company&invoiceTypeId=SALES_INVOICE&VIEW_SIZE_1=50&VIEW_INDEX_1=1#" > Ofbiz throws the following error: > "The Following Errors Occurred: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [invoiceTypeId] passed to secure (https) request-map with uri [findSalesInvoicesByDueDate] with an event that calls service [getInvoicePaymentInfoListByDueDateOffset]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help. " -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |