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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030793
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2015-09-08 13:052015-09-23 11:58
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision58a82e2b60ad
ProjectionnoneETAnoneTarget VersionRR15Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030793: Message in log: Session handler present after processing import entry, this indicates that the process

DescriptionThe message appears and is displayed when there is a customer in the import entry table to be processed and an order is then processed.

In the order loader runnable there is this check and return:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/f0e2cb00d01a/src/org/openbravo/retail/posterminal/importprocess/OrderImportEntryProcessor.java#l55 [^]

In this case the method returns but does not close the hibernate session, causing this code to be log the warn:
https://code.openbravo.com/erp/devel/pi/file/2e489927aed8/src/org/openbravo/service/importprocess/ImportEntryProcessor.java#l335 [^]
Steps To ReproducePut a breakpoint in the CustomerLoader
Run server in debug mode
Create customer in webpos, breakpoint on the server gets hit, let this thread wait
Create order from webpos
Check the log
Proposed SolutionClose and commit when returning if there are customers in the import queue
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0080259)
hgbot (developer)
2015-09-09 08:53

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 58a82e2b60ad2ea404b9353b70a67517e5437e9a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Sep 08 13:12:06 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/58a82e2b60ad2ea404b9353b70a67517e5437e9a [^]

Fixes issue 30793: Message in log: Session handler present after processing import entry, this indicates that the process
Close hb session when handling order

---
M src/org/openbravo/retail/posterminal/importprocess/OrderImportEntryProcessor.java
---
(0080575)
migueldejuana (developer)
2015-09-23 11:58

Tested and reviewed in 33b888e3001b

- Issue History
Date Modified Username Field Change
2015-09-08 13:05 mtaal New Issue
2015-09-08 13:05 mtaal Assigned To => mtaal
2015-09-08 13:05 mtaal Triggers an Emergency Pack => No
2015-09-09 08:53 hgbot Checkin
2015-09-09 08:53 hgbot Note Added: 0080259
2015-09-09 08:53 hgbot Status new => resolved
2015-09-09 08:53 hgbot Resolution open => fixed
2015-09-09 08:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/58a82e2b60ad2ea404b9353b70a67517e5437e9a [^]
2015-09-23 09:05 mtaal Review Assigned To => migueldejuana
2015-09-23 11:58 migueldejuana Note Added: 0080575
2015-09-23 11:58 migueldejuana Status resolved => closed
2015-09-23 11:58 migueldejuana Fixed in Version => RR15Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker