Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0020058 | Openbravo ERP | 04. Warehouse management | public | 2012-03-20 11:46 | 2012-04-02 06:11 | |||||||
Reporter | vmromanos | |||||||||||
Assigned To | dmiguelez | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 20 | OS Version | Debian 5.0 | ||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0020058: NullPointerException in SL_Requisition_BPartner_PriceList callout | |||||||||||
Description | The SL_Requisition_BPartner_PriceList callout throws a NullPointerException in case the Business Partner has not defined a Price List. a3196480 1093170 [http-8080-1] ERROR org.openbravo.erpCommon.ad_callouts.SL_Requisition_BPartner_PriceList - Error captured: java.lang.NullPointerException at org.openbravo.erpCommon.ad_callouts.SL_Requisition_BPartner_PriceList.printPage(SL_Requisition_BPartner_PriceList.java:85) at org.openbravo.erpCommon.ad_callouts.SL_Requisition_BPartner_PriceList.doPost(SL_Requisition_BPartner_PriceList.java:56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) | |||||||||||
Steps To Reproduce | Go to Requisition Window Select USA org Select Creditor Business Partner (which doesn't have a Price List) The NPE is thrown | |||||||||||
Proposed Solution | strResult.append("new Array(\"inpmPricelistId\", \"" + bPartner.getPurchasePricelist().getId() + "\"),"); strResult.append("new Array(\"inpcCurrencyId\", \"" + bPartner.getPurchasePricelist().getCurrency().getId() + "\")"); check bPartner.getPurchasePricelist() is not null | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2012-03-20 11:46 | vmromanos | New Issue | ||||||||||
2012-03-20 11:46 | vmromanos | Assigned To | => dmiguelez | |||||||||
2012-03-20 11:46 | vmromanos | Modules | => Core | |||||||||
2012-03-20 11:46 | vmromanos | OBNetwork customer | => No | |||||||||
2012-03-20 11:46 | vmromanos | Relationship added | related to 0018658 | |||||||||
2012-03-20 13:15 | dmiguelez | Status | new => scheduled | |||||||||
2012-03-20 13:15 | dmiguelez | fix_in_branch | => pi | |||||||||
2012-03-20 13:56 | dmiguelez | Note Added: 0046559 | ||||||||||
2012-03-22 10:21 | hgbot | Checkin | ||||||||||
2012-03-22 10:21 | hgbot | Note Added: 0046640 | ||||||||||
2012-03-22 10:21 | hgbot | Status | scheduled => resolved | |||||||||
2012-03-22 10:21 | hgbot | Resolution | open => fixed | |||||||||
2012-03-22 10:21 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/72ef117e9d711114da81e23b393cfb840af36137 [^] | |||||||||
2012-03-22 10:22 | vmromanos | Note Added: 0046641 | ||||||||||
2012-03-22 10:22 | vmromanos | Status | resolved => closed | |||||||||
2012-04-02 06:11 | hudsonbot | Checkin | ||||||||||
2012-04-02 06:11 | hudsonbot | Note Added: 0047199 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|