Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0037532 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2017-12-20 20:06 | 2022-02-01 08:05 | ||||||
Reporter | caristu | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | urgent | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Any | Database | Any | Java version | |||||||
OS Version | Database version | Ant version | |||||||||
Product Version | SCM revision | ||||||||||
Review Assigned To | |||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
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 [^] | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | npe.diff [^] (1,197 bytes) 2017-12-20 20:10 [Show Content] | ||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||
|
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 | 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 | View Revisions |
2018-05-25 14:08 | caristu | Steps to Reproduce Updated | View Revisions |
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |