Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||
| View Issue Details | |||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||
| 0037532 | Openbravo ERP | A. Platform | public | 2017-12-20 20:06 | 2022-02-01 08:05 | ||||||||||||||||
| Reporter | caristu | ||||||||||||||||||||
| Assigned To | Triage Platform Base | ||||||||||||||||||||
| Priority | urgent | Severity | minor | Reproducibility | have not tried | ||||||||||||||||
| Status | acknowledged | Resolution | open | ||||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||||
| 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 | 0037532: SessionHandler creates session without setting a connection when not using the Tomcat pool | ||||||||||||||||||||
| Description | SessionHandler creates the session without setting the database connection when the Tomcat Pool is not configured. | ||||||||||||||||||||
| Steps To Reproduce | 0) Apply the attached patch 1) Configure Openbravo to not make use of the Tomcat Connection Pool. In Openbravo.properties: db.externalPoolClassName= 2) Login-in in Openbravo 3) Open the About pop-up. Notice that a NPE is thrown. This code does not fail having the Apache JDBC Connection Pool configured. | ||||||||||||||||||||
| Proposed Solution | Decide if at this point[1] it makes sense to set the connection [1] https://code.openbravo.com/erp/devel/pi/file/tip/src/org/openbravo/dal/core/SessionHandler.java#l249 [^] | ||||||||||||||||||||
| Additional Information | |||||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||||
| Relationships |
| ||||||||||||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=11383&type=bug | ||||||||||||||||||||
| Issue History | |||||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||||
| 2017-12-20 20:06 | caristu | New Issue | |||||||||||||||||||
| 2017-12-20 20:06 | caristu | Assigned To | => platform | ||||||||||||||||||
| 2017-12-20 20:06 | caristu | OBNetwork customer | => No | ||||||||||||||||||
| 2017-12-20 20:06 | caristu | Modules | => Core | ||||||||||||||||||
| 2017-12-20 20:06 | caristu | Triggers an Emergency Pack | => No | ||||||||||||||||||
| 2017-12-20 20:06 | caristu | Relationship added | has duplicate 0036580 | ||||||||||||||||||
| 2017-12-20 20:08 | caristu | File Added: npe.diff | |||||||||||||||||||
| 2017-12-20 20:08 | caristu | File Deleted: npe.diff | |||||||||||||||||||
| 2017-12-20 20:10 | caristu | File Added: npe.diff | |||||||||||||||||||
| 2017-12-20 20:12 | caristu | Proposed Solution updated | |||||||||||||||||||
| 2017-12-20 20:12 | caristu | Proposed Solution updated | |||||||||||||||||||
| 2018-02-08 10:40 | caristu | Status | new => scheduled | ||||||||||||||||||
| 2018-02-08 10:40 | caristu | Assigned To | platform => caristu | ||||||||||||||||||
| 2018-02-08 10:40 | caristu | Assigned To | caristu => platform | ||||||||||||||||||
| 2018-02-08 10:41 | caristu | Status | scheduled => acknowledged | ||||||||||||||||||
| 2018-05-25 14:07 | caristu | Summary | SessionHandler creates session without setting a connection when using the Apache JDBC Connection Pool => SessionHandler creates session without setting a connection when not using the Apache JDBC Connection Pool | ||||||||||||||||||
| 2018-05-25 14:07 | caristu | Relationship added | related to 0038099 | ||||||||||||||||||
| 2018-05-25 14:08 | caristu | Summary | SessionHandler creates session without setting a connection when not using the Apache JDBC Connection Pool => SessionHandler creates session without setting a connection when not using the Tomcat pool | ||||||||||||||||||
| 2018-05-25 14:08 | caristu | Description Updated | bug_revision_view_page.php?rev_id=17190#r17190 | ||||||||||||||||||
| 2018-05-25 14:08 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17192#r17192 | ||||||||||||||||||
| 2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base | ||||||||||||||||||
| There are no notes attached to this issue. |