Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0019905 | Openbravo ERP | A. Platform | public | 2012-02-28 17:55 | 2012-03-05 13:37 | |||||||
Reporter | plujan | |||||||||||
Assigned To | vmromanos | |||||||||||
Priority | immediate | Severity | major | Reproducibility | sometimes | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | pi | |||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | Mozilla Firefox | |||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0019905: JSON exception on Add Details button for Payment Out window | |||||||||||
Description | When creating a new Payment Out for a Purchase Order, an error is popped out. This error does not happen always manually but the smoke tests found it in every run. See steps. The openbravo log shows the following exception: 2012-02-28 13:48:14,815 [ajp-8009-2] ERROR org.openbravo.advpaymentmngt.ad_actionbutton.AddOrderOrInvoice - Error parsing received GLItems JSON A org.codehaus.jettison.json.JSONException: A JSONArray text must start with '[' at character 0 of at org.codehaus.jettison.json.JSONTokener.syntaxError(JSONTokener.java:439) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:98) at org.codehaus.jettison.json.JSONArray.<init>(JSONArray.java:137) at org.openbravo.advpaymentmngt.ad_actionbutton.AddOrderOrInvoice.doPost(AddOrderOrInvoice.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:422) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:7 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.j at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.jav at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:42 at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(Ajp at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:15 at java.lang.Thread.run(Thread.java:619) | |||||||||||
Steps To Reproduce | 1. Login as QAAdmin user 2. Go to Purchase Order window 3. Create a new Purchase Order with the following data: Business Partner: Vendor A Payment Method: 1 (Spain) Payment Terms: 90 days 4. Add a line with the following data: Product: Raw Material A Ordered Quantity: 11.2 5. Save and Book the Order 6. Close the Purchase Order window and open Payment Out window 7. Create a new Payment for Business Partner: Vendor A and Save 8. Click the Add Details button 9. On the pop up window, choose Transaction Type: Orders 10. Mark the order created in step 5 and click Process 11. In the Process Payment pop up click Ok 12. An error is displayed (see attached screenshot) 13. Repeat steps 8 to 11. Now the error does not happen and the expected success message is shown. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | PaymentOutError.png (88,513) 2012-02-28 17:55 https://issues.openbravo.com/file_download.php?file_id=5032&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2012-02-28 17:55 | plujan | New Issue | ||||||||||
2012-02-28 17:55 | plujan | Assigned To | => alostale | |||||||||
2012-02-28 17:55 | plujan | File Added: PaymentOutError.png | ||||||||||
2012-02-28 17:55 | plujan | Web browser | => Mozilla Firefox | |||||||||
2012-02-28 17:55 | plujan | Modules | => Core | |||||||||
2012-02-28 18:02 | alostale | Assigned To | alostale => vmromanos | |||||||||
2012-02-29 11:51 | vmromanos | Status | new => scheduled | |||||||||
2012-02-29 11:51 | vmromanos | Note Added: 0045580 | ||||||||||
2012-02-29 11:51 | vmromanos | fix_in_branch | => pi | |||||||||
2012-02-29 12:48 | hgbot | Checkin | ||||||||||
2012-02-29 12:48 | hgbot | Note Added: 0045587 | ||||||||||
2012-02-29 12:48 | hgbot | Status | scheduled => resolved | |||||||||
2012-02-29 12:48 | hgbot | Resolution | open => fixed | |||||||||
2012-02-29 12:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/36954df33011f5ba447f683962b9f4c0cdd79635 [^] | |||||||||
2012-02-29 12:53 | vmromanos | Note Added: 0045589 | ||||||||||
2012-03-02 15:40 | hudsonbot | Checkin | ||||||||||
2012-03-02 15:40 | hudsonbot | Note Added: 0045982 | ||||||||||
2012-03-05 13:30 | plujan | Issue cloned | 0019942 | |||||||||
2012-03-05 13:30 | plujan | Relationship added | related to 0019942 | |||||||||
2012-03-05 13:37 | gorkaion | Note Added: 0046039 | ||||||||||
2012-03-05 13:37 | gorkaion | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|