Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037532
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2017-12-20 20:062022-02-01 08:05
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityurgentResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037532: SessionHandler creates session without setting a connection when not using the Tomcat pool

DescriptionSessionHandler creates the session without setting the database connection when the Tomcat Pool is not configured.
Steps To Reproduce0) 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 SolutionDecide 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 [^]
TagsNo tags attached.
Attached Filesdiff file icon npe.diff [^] (1,197 bytes) 2017-12-20 20:10 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 00380993.0PR18Q3 closedjarmendariz Openbravo ERP upgrade from <3.0PR15Q4 preserves old pool config 
has duplicate defect 0036580 acknowledgedTriage Platform Base Modules Is not possible to reprocess a request if the Apache JDBC Connection Pool is not configured 

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker