Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020562Openbravo ERP03. Procurement managementpublic2012-05-21 13:032012-05-25 12:13
sureshbabu 
Sandrahuguet 
urgentmajoralways
closedfixed 
5
main 
3.0MP12 
Google Chrome
Openbravo 3.0
No
0020562: Error message appears without any valid information in Return to vendor screen
while selecting line items for Return to vendor document using Pick/Edit Lines option, In the "Pick/Edit Lines" window when the user clicks Done without entering any value in Returned field, System throws error message without any message.
Login as:

Username: Openbravo
Password: openbravo
Change the role to QA Testing Admin

Go to Return to Vendor window

Click New and select the vendor Vendor sports and save

** Create a line **

Click the button Pick/Edit lines

Clean the filters by clicking the Filter icon that it is in the right corner

Select the record that contains this data:

Shipment/Receipt No.: 10000005
Product: Soccer ball
Attribute set value: Blue
Verify the focus moves to Returned field

Enter the quantity: <blank>

Click Done

Defect: System throws error message in Return to vendor header page without any valid message
Regression
related to defect 0020560 closed alostale Sometimes no lines visible in RFC 
related to defect 0020578 closed Sandrahuguet Error message appears without any valid information in Return to vendor screen 
png Return to vendor - Error message with out any meaning.png (67,934) 2012-05-21 13:03
https://issues.openbravo.com/file_download.php?file_id=5250&type=bug
png
Issue History
2012-05-21 13:03sureshbabuNew Issue
2012-05-21 13:03sureshbabuAssigned To => mirurita
2012-05-21 13:03sureshbabuFile Added: Return to vendor - Error message with out any meaning.png
2012-05-21 13:03sureshbabuWeb browser => Google Chrome
2012-05-21 13:03sureshbabuModules => Openbravo 3.0
2012-05-21 14:26plujanWeb browserGoogle Chrome => Google Chrome
2012-05-21 14:26plujanNote Added: 0048802
2012-05-21 14:26plujanPrioritylow => urgent
2012-05-21 14:26plujanSeveritytrivial => major
2012-05-21 14:26plujanTag Attached: Regression QA
2012-05-21 15:40plujanRelationship addedrelated to 0020560
2012-05-21 17:15plujanTag Detached: Regression QA
2012-05-21 17:15plujanTag Attached: Regression
2012-05-21 18:26shuehnerNote Added: 0048830
2012-05-22 09:35SandrahuguetAssigned Tomirurita => Sandrahuguet
2012-05-22 13:49plujanIssue cloned0020578
2012-05-22 13:49plujanRelationship addedrelated to 0020578
2012-05-22 13:49plujanNote Deleted: 0048802
2012-05-22 13:53SandrahuguetNote Added: 0048864
2012-05-22 13:56SandrahuguetStatusnew => scheduled
2012-05-22 13:56Sandrahuguetfix_in_branch => pi
2012-05-23 13:35SandrahuguetNote Added: 0048884
2012-05-24 17:01hgbotCheckin
2012-05-24 17:01hgbotNote Added: 0048915
2012-05-24 17:01hgbotStatusscheduled => resolved
2012-05-24 17:01hgbotResolutionopen => fixed
2012-05-24 17:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6d9ad2597c25a215cdebff616d94a413a805de1c [^]
2012-05-24 17:01hgbotCheckin
2012-05-24 17:01hgbotNote Added: 0048916
2012-05-24 17:04miruritaNote Added: 0048919
2012-05-24 17:04miruritaStatusresolved => closed
2012-05-24 17:04miruritaFixed in Version => 3.0MP12
2012-05-25 12:13hudsonbotCheckin
2012-05-25 12:13hudsonbotNote Added: 0049205
2012-05-25 12:13hudsonbotCheckin
2012-05-25 12:13hudsonbotNote Added: 0049206

Notes
(0048830)
shuehner   
2012-05-21 18:26   
This issue cannot be reproduced in MP10.2
(0048864)
Sandrahuguet   
2012-05-22 13:53   
This is what the log shows:

1719405 [http-8080-4] ERROR org.openbravo.common.actionhandler.SRMOPickEditLines -
java.lang.NumberFormatException
    at java.math.BigDecimal.<init>(BigDecimal.java:459)
    at java.math.BigDecimal.<init>(BigDecimal.java:728)
    at org.openbravo.common.actionhandler.SRMOPickEditLines.createOrderLines(SRMOPickEditLines.java:145)
    at org.openbravo.common.actionhandler.SRMOPickEditLines.doExecute(SRMOPickEditLines.java:72)
    at org.openbravo.client.application.process.BaseProcessActionHandler.execute(BaseProcessActionHandler.java:63)
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:71)
    at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:193)
    at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:104)
    at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:177)
    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:427)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87)
    at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63)
    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:62)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
(0048884)
Sandrahuguet   
2012-05-23 13:35   
Test Plan 1:
-Login as:
  Username: Openbravo
  Password: openbravo
  Change the role to QA Testing Admin
-Go to Return to Vendor window
-Click New and select the business partner Vendor sports and save
-Select the Lines tab by clicking its name
-Click the button Pick/Edit lines
-Select no record
-Click Done
-Notice that you return to the previous window

Test Plan 2:
-Login as:
  Username: Openbravo
  Password: openbravo
  Change the role to QA Testing Admin
-Go to Return from Customer window
-Click New and select the business partner Customer A and save
-Select the Lines tab by clicking its name
-Click the button Pick/Edit lines
-Select no record
-Click Done
-Notice that you return to the previous window

Test Plan 3:
-Login as:
  Username: Openbravo
  Password: openbravo
  Change the role to QA Testing Admin
-Go to Return to vendor window
-Click New and select the business partner Vendor sports and save
-Select the Lines tab by clicking its name
-Click the button Pick/Edit lines
-Clean the filters by clicking the Filter icon that it is in the right corner
-Select one record and returned=blank
-Click Done
-Notice that you return to the previous window

Test Plan 4:
-Login as:
  Username: Openbravo
  Password: openbravo
  Change the role to QA Testing Admin
-Go to Return from customer window
-Click New and select the business partner Customer A and save
-Select the Lines tab by clicking its name
-Click the button Pick/Edit lines
-Clean the filters by clicking the Filter icon that it is in the right corner
-Select one record and returned=blank
-Click Done
-Notice that you return to the previous window

Test Plan 5:
-Login as:
  Username: Openbravo
  Password: openbravo
  Change the role to QA Testing Admin
-Go to Return to vendor window
-Click New and select the business partner Vendor sports and save
-Click the button Pick/Edit lines
-Clean the filters by clicking the Filter icon that it is in the right corner
-Select one record and returned=2
-Select other record and returned=blank
-Click Done
-Notice that you return to the previous window and in the lines tab appears the correct line selected.

Test Plan 6:
-Login as:
  Username: Openbravo
  Password: openbravo
  Change the role to QA Testing Admin
-Go to Return from customer window
-Click New and select the business partner Customer A and save
-Click the button Pick/Edit lines
-Clean the filters by clicking the Filter icon that it is in the right corner
-Select one record and returned=2
-Select other record and returned=blank
-Click Done
-Notice that you return to the previous window and in the lines tab appears the correct line selected.
(0048915)
hgbot   
2012-05-24 17:01   
Repository: erp/devel/pi
Changeset: 6d9ad2597c25a215cdebff616d94a413a805de1c
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed May 23 13:10:01 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6d9ad2597c25a215cdebff616d94a413a805de1c [^]

Fixed bug 20578, Fixed bug 20559, Fixed bug 20562
Add logic to avoid NullPointerException and NumberFormatException

---
M src/org/openbravo/common/actionhandler/RMInOutPickEditLines.java
M src/org/openbravo/common/actionhandler/RMShipmentPickEditLines.java
M src/org/openbravo/common/actionhandler/SRMOPickEditLines.java
---
(0048916)
hgbot   
2012-05-24 17:01   
Repository: erp/devel/pi
Changeset: 83eeba2177549e8cc4334676468275ef47c15133
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu May 24 16:53:59 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/83eeba2177549e8cc4334676468275ef47c15133 [^]

Related to issue 20562: code review

---
M src/org/openbravo/common/actionhandler/RMInOutPickEditLines.java
M src/org/openbravo/common/actionhandler/RMShipmentPickEditLines.java
M src/org/openbravo/common/actionhandler/SRMOPickEditLines.java
---
(0048919)
mirurita   
2012-05-24 17:04   
code review + testing OK
(0049205)
hudsonbot   
2012-05-25 12:13   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5401e185a8b0 [^]

Maturity status: Test
(0049206)
hudsonbot   
2012-05-25 12:13   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5401e185a8b0 [^]

Maturity status: Test