You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sumit Pandit (JIRA)" <ji...@apache.org> on 2009/12/02 06:11:20 UTC

[jira] Created: (OFBIZ-3284) Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices

Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices
----------------------------------------------------------------

                 Key: OFBIZ-3284
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3284
             Project: OFBiz
          Issue Type: Bug
          Components: accounting
            Reporter: Sumit Pandit
             Fix For: SVN trunk


At https://demo.ofbiz.org/ar/control/FindArInvoices, it is giving an exception. Need to fix it.
invoicePaymentInfoList.get("invoicePaymentInfoList") is undefined on line 116, column 41 in component://accounting/webapp/ar/invoice/ListInvoices.ftl. The problematic instruction: ---------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3284) Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices

Posted by "Divesh Dutta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Divesh Dutta updated OFBIZ-3284:
--------------------------------

    Attachment: OFBIZ-3284.patch

There was typo in patch name. So uploading the  patch with new name.

> Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-3284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Sumit Pandit
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3248.patch, OFBIZ-3284.patch
>
>
> At https://demo.ofbiz.org/ar/control/FindArInvoices, it is giving an exception. Need to fix it.
> invoicePaymentInfoList.get("invoicePaymentInfoList") is undefined on line 116, column 41 in component://accounting/webapp/ar/invoice/ListInvoices.ftl. The problematic instruction: ---------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3284) Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya updated OFBIZ-3284:
---------------------------------------

    Attachment:     (was: OFBIZ-3248.patch)

> Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-3284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Sumit Pandit
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3284.patch
>
>
> At https://demo.ofbiz.org/ar/control/FindArInvoices, it is giving an exception. Need to fix it.
> invoicePaymentInfoList.get("invoicePaymentInfoList") is undefined on line 116, column 41 in component://accounting/webapp/ar/invoice/ListInvoices.ftl. The problematic instruction: ---------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OFBIZ-3284) Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya reassigned OFBIZ-3284:
------------------------------------------

    Assignee: Ashish Vijaywargiya  (was: Anil K Patel)

I will take care of this issue with in next 4 hour.

--
Ashish

> Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-3284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Sumit Pandit
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3248.patch
>
>
> At https://demo.ofbiz.org/ar/control/FindArInvoices, it is giving an exception. Need to fix it.
> invoicePaymentInfoList.get("invoicePaymentInfoList") is undefined on line 116, column 41 in component://accounting/webapp/ar/invoice/ListInvoices.ftl. The problematic instruction: ---------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3284) Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices

Posted by "Divesh Dutta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Divesh Dutta updated OFBIZ-3284:
--------------------------------

    Attachment: OFBIZ-3248.patch

After doing research on this error I got exact steps to produce this error, reason of the error and solution for the error. Here are my findings:

Steps to reproduce the error:

1) Start placing sales order from Order manager application by taking DemoCustomer.
2) Add any two products into the cart, choose shipping address and shipping method.
3) And then land on Order terms screens. Now select Term Type = Payment (net days) or any of its subtype.
4) Do not enter Term days and click on add button.
5) Select offline payment and create your order.
6) Now from payment section of order detail page, click on "Receive Payment" button and receive payment for Personal check by entering the amount and clicking on save button. 
7) Complete the order by clicking on "Quick ship entire order" button on Action block.
8) Note the Invoice Id created and go to Find Invoices screen of AR by accessing https://demo.ofbiz.org/ar/control/FindArInvoices
9) Enter the Invoice ID and click on search, You will find error page. 

Reason of error:

1) getInvoicePaymentInfoList Service returns  error (in ListInvoices.ftl) for  invoices of some specific order in which Term type = Payment (net days) or any of its subtype and user forgot to enter Term days.

2) Due to this reason code breaks while calling getDayEnd class method inside getInvoicePaymentInfoList simple method of PaymentServies.xml

Solution of error:

1) I have handled this situation by adding validation on Order terms screen .

2) Validation is like if  User selects, Term type = Payment (net days) or any of its subtype and not entered  Term days , then Error message will be returned to user 

3) Error message will prompt : Order Term Days is required for this term type. 



> Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-3284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Sumit Pandit
>            Assignee: Anil K Patel
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3248.patch
>
>
> At https://demo.ofbiz.org/ar/control/FindArInvoices, it is giving an exception. Need to fix it.
> invoicePaymentInfoList.get("invoicePaymentInfoList") is undefined on line 116, column 41 in component://accounting/webapp/ar/invoice/ListInvoices.ftl. The problematic instruction: ---------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3284) Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices

Posted by "Divesh Dutta (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784870#action_12784870 ] 

Divesh Dutta commented on OFBIZ-3284:
-------------------------------------

Also attached patch for the solution I have suggested. 

> Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-3284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Sumit Pandit
>            Assignee: Anil K Patel
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3248.patch
>
>
> At https://demo.ofbiz.org/ar/control/FindArInvoices, it is giving an exception. Need to fix it.
> invoicePaymentInfoList.get("invoicePaymentInfoList") is undefined on line 116, column 41 in component://accounting/webapp/ar/invoice/ListInvoices.ftl. The problematic instruction: ---------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-3284) Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya closed OFBIZ-3284.
--------------------------------------

    Resolution: Fixed

Thanks Divesh | Sumit for the contribution - Done at r886738.

--
Ashish Vijaywargiya

> Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-3284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Sumit Pandit
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3284.patch
>
>
> At https://demo.ofbiz.org/ar/control/FindArInvoices, it is giving an exception. Need to fix it.
> invoicePaymentInfoList.get("invoicePaymentInfoList") is undefined on line 116, column 41 in component://accounting/webapp/ar/invoice/ListInvoices.ftl. The problematic instruction: ---------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OFBIZ-3284) Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices

Posted by "Anil K Patel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anil K Patel reassigned OFBIZ-3284:
-----------------------------------

    Assignee: Anil K Patel

> Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-3284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Sumit Pandit
>            Assignee: Anil K Patel
>             Fix For: SVN trunk
>
>
> At https://demo.ofbiz.org/ar/control/FindArInvoices, it is giving an exception. Need to fix it.
> invoicePaymentInfoList.get("invoicePaymentInfoList") is undefined on line 116, column 41 in component://accounting/webapp/ar/invoice/ListInvoices.ftl. The problematic instruction: ---------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.