Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0035911 | Openbravo ERP | 07. Sales management | public | 2017-05-03 16:50 | 2017-06-15 12:15 |
Reporter | egoitz | ||||
Assigned To | collazoandy4 | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR17Q3 | |||
Merge Request Status | |||||
Review Assigned To | aferraz | ||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0035911: Executing copy lines process without selecting an invoice produces a connection leak | ||||
Description | If you execute the copy lines process on an invoice and you click on ok button before you select an invoice, a connection is opened but not closed | ||||
Steps To Reproduce | -Create an invoice -Click on the copy lines button -Click on ok without selecting any invoice. *See on the pg_stat_activity that you have an entry with state='idle in transaction' | ||||
Proposed Solution | The problem is that you are executing a return without closing the connection. if (data == null || data.length == 0) { myError = new OBError(); myError.setType("Success"); myError.setTitle(OBMessageUtils.messageBD("Success")); myError.setMessage(OBMessageUtils.messageBD("RecordsCopied") + " " + i); return myError; } You could execute the rollback before the return or on the finally. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-05-03 16:50 | egoitz | New Issue | |||
2017-05-03 16:50 | egoitz | Assigned To | => Triage Finance | ||
2017-05-03 16:50 | egoitz | OBNetwork customer | => Yes | ||
2017-05-03 16:50 | egoitz | Modules | => Core | ||
2017-05-03 16:50 | egoitz | Resolution time | => 1495576800 | ||
2017-05-03 16:50 | egoitz | Triggers an Emergency Pack | => No | ||
2017-05-04 16:50 | aferraz | Assigned To | Triage Finance => collazoandy4 | ||
2017-05-04 17:18 | collazoandy4 | Status | new => scheduled | ||
2017-05-04 19:22 | collazoandy4 | Note Added: 0096401 | |||
2017-05-04 19:26 | hgbot | Checkin | |||
2017-05-04 19:26 | hgbot | Note Added: 0096402 | |||
2017-05-04 19:26 | hgbot | Status | scheduled => resolved | ||
2017-05-04 19:26 | hgbot | Resolution | open => fixed | ||
2017-05-04 19:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3851147e5fd82607a74e35873fa214b85fa81f73 [^] | ||
2017-05-04 19:26 | aferraz | Review Assigned To | => aferraz | ||
2017-05-04 19:26 | aferraz | Note Added: 0096403 | |||
2017-05-04 19:26 | aferraz | Status | resolved => closed | ||
2017-05-04 19:26 | aferraz | Fixed in Version | => 3.0PR17Q3 | ||
2017-05-29 17:43 | hudsonbot | Checkin | |||
2017-05-29 17:43 | hudsonbot | Note Added: 0096944 | |||
2017-06-15 12:15 | egoitz | Summary | Execution copy lines process without selecting an invoice produces a memory leak => Executing copy lines process without selecting an invoice produces a connection leak |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|