Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||||||||||||||||||
| View Issue Details | |||||||||||||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||||||||||
| 0030811 | Openbravo ERP | 03. Procurement management | public | 2015-09-10 16:56 | 2015-09-15 15:56 | ||||||||||||||||||||||||||||||||
| Reporter | malsasua | ||||||||||||||||||||||||||||||||||||
| Assigned To | dmiguelez | ||||||||||||||||||||||||||||||||||||
| Priority | immediate | Severity | major | Reproducibility | always | ||||||||||||||||||||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||||||||||||||||||||
| Platform | OS | 20 | OS Version | Community Appliance | |||||||||||||||||||||||||||||||||
| Product Version | pi | ||||||||||||||||||||||||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||||||||||||||||||||||||
| Merge Request Status | |||||||||||||||||||||||||||||||||||||
| Review Assigned To | vmromanos | ||||||||||||||||||||||||||||||||||||
| OBNetwork customer | OBPS | ||||||||||||||||||||||||||||||||||||
| Web browser | |||||||||||||||||||||||||||||||||||||
| Modules | Core | ||||||||||||||||||||||||||||||||||||
| Support ticket | |||||||||||||||||||||||||||||||||||||
| Regression level | Production - QA Approved | ||||||||||||||||||||||||||||||||||||
| Regression date | 2015-04-28 | ||||||||||||||||||||||||||||||||||||
| Regression introduced in release | 3.0PR15Q3 | ||||||||||||||||||||||||||||||||||||
| Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/annotate/b134bab019fe/src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java#l123 [^] | ||||||||||||||||||||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||||||||||||||||||||
| Summary | 0030811: process: "Create expense AP Invoice" does not work | ||||||||||||||||||||||||||||||||||||
| Description | the process to create the purchase invoice from expense sheet is not working. Error is returned: Error java.lang.NullPointerException | ||||||||||||||||||||||||||||||||||||
| Steps To Reproduce | . in F&B . create a new product (p1) of type Expense and add in Price list Otros servicios . configure the BP: Javier Martin: . Vendor: true PO price list: otros servicios PO payment method: anyone PO payment termns: anyone PO financial account: anyone . go to expense sheet: new record: BP: Javier Martin date: 10-08-2015 new line time sheet: no product: p1 net unit price: 10 date: 10-08-2015 .process it . go to "Create expense ap invoice" process . bp: javier martin . date from: 01-08-2015 . date to: 31-08-2015 . date invoice: 31-08-2015 process -> error is returned java.lang.NullPointerException | ||||||||||||||||||||||||||||||||||||
| Proposed Solution | . the problem is in the line https://code.openbravo.com/erp/devel/pi/file/13211c4cc0a0/src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java#l200 [^] the insert of invoice header is done with the connection "conn" (and this connection is of type DalConnectionProvider(false).getTransactionConnection()) but after that, in the line https://code.openbravo.com/erp/devel/pi/file/13211c4cc0a0/src/org/openbravo/erpCommon/utility/AccDefUtility.java#l135 [^] this invoice is not retrieved, because it is in other session. I think that the commit that it generated the regression is: https://code.openbravo.com/erp/devel/pi/annotate/b134bab019fe/src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java#l123 [^] | ||||||||||||||||||||||||||||||||||||
| Additional Information | |||||||||||||||||||||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||||||||||||||||||||
| Relationships |
| ||||||||||||||||||||||||||||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=8444&type=bug | ||||||||||||||||||||||||||||||||||||
| Issue History | |||||||||||||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||||||||||||||||||||
| 2015-09-10 16:56 | malsasua | New Issue | |||||||||||||||||||||||||||||||||||
| 2015-09-10 16:56 | malsasua | Assigned To | => Triage Finance | ||||||||||||||||||||||||||||||||||
| 2015-09-10 16:56 | malsasua | OBNetwork customer | => Yes | ||||||||||||||||||||||||||||||||||
| 2015-09-10 16:56 | malsasua | Modules | => Core | ||||||||||||||||||||||||||||||||||
| 2015-09-10 16:56 | malsasua | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/annotate/b134bab019fe/src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java#l123 [^] | ||||||||||||||||||||||||||||||||||
| 2015-09-10 16:56 | malsasua | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||||||||||
| 2015-09-14 10:20 | dmiguelez | Status | new => scheduled | ||||||||||||||||||||||||||||||||||
| 2015-09-14 10:20 | dmiguelez | Assigned To | Triage Finance => dmiguelez | ||||||||||||||||||||||||||||||||||
| 2015-09-14 10:23 | dmiguelez | Note Added: 0080364 | |||||||||||||||||||||||||||||||||||
| 2015-09-14 10:25 | dmiguelez | File Added: patch.diff | |||||||||||||||||||||||||||||||||||
| 2015-09-14 13:54 | malsasua | Resolution time | => 1442354400 | ||||||||||||||||||||||||||||||||||
| 2015-09-14 15:59 | vmromanos | Relationship added | caused by 0028934 | ||||||||||||||||||||||||||||||||||
| 2015-09-14 15:59 | vmromanos | Status | scheduled => acknowledged | ||||||||||||||||||||||||||||||||||
| 2015-09-14 16:02 | vmromanos | Review Assigned To | => vmromanos | ||||||||||||||||||||||||||||||||||
| 2015-09-14 16:02 | vmromanos | Regression level | => Production - QA Approved | ||||||||||||||||||||||||||||||||||
| 2015-09-14 16:02 | vmromanos | Regression date | => 2015-04-28 | ||||||||||||||||||||||||||||||||||
| 2015-09-14 16:02 | vmromanos | Regression introduced in release | => 3.0PR15Q3 | ||||||||||||||||||||||||||||||||||
| 2015-09-14 16:06 | vmromanos | Status | acknowledged => scheduled | ||||||||||||||||||||||||||||||||||
| 2015-09-14 17:55 | hgbot | Checkin | |||||||||||||||||||||||||||||||||||
| 2015-09-14 17:55 | hgbot | Note Added: 0080383 | |||||||||||||||||||||||||||||||||||
| 2015-09-14 17:55 | hgbot | Status | scheduled => resolved | ||||||||||||||||||||||||||||||||||
| 2015-09-14 17:55 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||||||||||
| 2015-09-14 17:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/63bf09cfd4a8f2ee5c9668f671a10494d3e99f55 [^] | ||||||||||||||||||||||||||||||||||
| 2015-09-14 17:55 | vmromanos | Note Added: 0080384 | |||||||||||||||||||||||||||||||||||
| 2015-09-14 17:55 | vmromanos | Status | resolved => closed | ||||||||||||||||||||||||||||||||||
| 2015-09-15 15:56 | hudsonbot | Checkin | |||||||||||||||||||||||||||||||||||
| 2015-09-15 15:56 | hudsonbot | Note Added: 0080405 | |||||||||||||||||||||||||||||||||||
| 2015-10-05 19:11 | ngarcia | Relationship added | has duplicate 0030314 | ||||||||||||||||||||||||||||||||||
| 2017-09-26 10:39 | aferraz | Relationship added | related to 0036945 | ||||||||||||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||