Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0039767 | Retail Modules | StoreServer | public | 2018-12-06 22:55 | 2018-12-10 09:58 |
| Reporter | mtaal | ||||
| Assigned To | mtaal | ||||
| Priority | normal | Severity | critical | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | AugustoMauch | ||||
| OBNetwork customer | No | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0039767: Connection Leak in ServerStateBackground process | ||||
| Description | See attached screenshot, the thread which calls the servers to get the status uses separate threads [1]. If an exception occurs it will not release the connection it retrieved. [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/ServerStateBackground.java#l454 [^] | ||||
| Steps To Reproduce | Force an error in the loop somewhere | ||||
| Proposed Solution | Add a rollback in a finally/exception block in the try-catch-finally here [1] [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/ServerStateBackground.java#l454 [^] | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=12416&type=bug https://issues.openbravo.com/file_download.php?file_id=12417&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2018-12-06 22:55 | mtaal | New Issue | |||
| 2018-12-06 22:55 | mtaal | Assigned To | => mtaal | ||
| 2018-12-06 22:55 | mtaal | File Added: WhatsApp Image 2018-12-06 at 19.00.03 (1).jpeg | |||
| 2018-12-06 22:55 | mtaal | OBNetwork customer | => No | ||
| 2018-12-06 22:55 | mtaal | Triggers an Emergency Pack | => No | ||
| 2018-12-09 14:04 | mtaal | Note Added: 0108347 | |||
| 2018-12-09 14:08 | mtaal | File Added: 39767.diff | |||
| 2018-12-09 22:05 | hgbot | Checkin | |||
| 2018-12-09 22:05 | hgbot | Note Added: 0108348 | |||
| 2018-12-09 22:05 | hgbot | Status | new => resolved | ||
| 2018-12-09 22:05 | hgbot | Resolution | open => fixed | ||
| 2018-12-09 22:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7678179d3b72b5ad4fb73adf50b18218c147b053 [^] | ||
| 2018-12-09 22:06 | mtaal | Review Assigned To | => AugustoMauch | ||
| 2018-12-10 09:58 | AugustoMauch | Note Added: 0108354 | |||
| 2018-12-10 09:58 | AugustoMauch | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||