Openbravo Issue Tracking System - Retail Modules | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0031350 | Retail Modules | Web POS | public | 2015-11-03 16:38 | 2015-11-05 14:05 | |||||||
| Reporter | mtaal | |||||||||||
| Assigned To | Retail | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | RR15Q4 | Fixed in Version | RR15Q4 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | marvintm | |||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0031350: Many warnings in log generated by import entry code when a cashup can not be processed | |||||||||||
| Description | See this log: f760168d 2015-11-03 11:20:06,095 [Import Entry - 3] WARN org.openbravo.retail.posterminal.importprocess.CashUpImportEntryProcessor$CashUpRunnable - Session handler present after processing import entry, this indicates that the processing code does not correctly clean/close the session after its last actions. This should be fixed. f760168d 2015-11-03 11:20:06,134 [Import Entry - 1] WARN org.openbravo.retail.posterminal.importprocess.CashUpImportEntryProcessor$CashUpRunnable - Session handler present after processing import entry, this indicates that the processing code does not correctly clean/close the session after its last actions. This should be fixed. f760168d 2015-11-03 11:20:06,173 [Import Entry - 2] WARN org.openbravo.retail.posterminal.importprocess.CashUpImportEntryProcessor$CashUpRunnable - Session handler present after processing import entry, this indicates that the processing code does not correctly clean/close the session after its last actions. This should be fixed. f760168d 2015-11-03 11:20:06,212 [Import Entry - 3] WARN org.openbravo.retail.posterminal.importprocess.CashUpImportEntryProcessor$CashUpRunnable - Session handler present after processing import entry, this indicates that the processing code does not correctly clean/close the session after its last actions. This should be fixed. f760168d 2015-11-03 11:20:06,250 [Import Entry - 1] WARN org.openbravo.retail.posterminal.importprocess.CashUpImportEntryProcessor$CashUpRunnable - Session handler present after processing import entry, this indicates that the processing code does not correctly clean/close the session after its last actions. This should be fixed. f760168d 2015-11-03 11:20:06,290 [Import Entry - 2] WARN org.openbravo.retail.posterminal.importprocess.CashUpImportEntryProcessor$CashUpRunnable - Session handler present after processing import entry, this indicates that the processing code does not correctly clean/close the session after its last actions. This should be fixed. f760168d 2015-11-03 11:20:06,329 [Import Entry - 3] WARN org.openbravo.retail.posterminal.importprocess.CashUpImportEntryProcessor$CashUpRunnable - Session handler present after processing import entry, this indicates that the processing code does not correctly clean/close the session after its last actions. This should be fixed. f760168d 2015-11-03 11:20:06,369 [Import Entry - 1] WARN org.openbravo.retail.posterminal.importprocess.CashUpImportEntryProcessor$CashUpRunnable - Session handler present after processing import entry, this indicates that the processing code does not correctly clean/close the session after its last actions. This should be fixed. | |||||||||||
| Steps To Reproduce | Create an entry manually in import entry window in error state Do a cashup in webpos it won't be processed instead the above message is shown in the code | |||||||||||
| Proposed Solution | Add this line: // close and commit OBDal.getInstance().commitAndClose(); In case the processor code returns without committing in the following classes in the processEntry method: CashUpImportEntryProcessor CustomerAddrImportEntryProcessor See OrderImportEntryProcessor.processEntry as an example | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2015-11-04 09:41 | mtaal | Type | defect => backport | |||||||||
| 2015-11-04 09:41 | mtaal | Target Version | RR16Q1 => RR15Q4 | |||||||||
| 2015-11-04 09:42 | mtaal | Assigned To | mtaal => Retail | |||||||||
| 2015-11-05 12:18 | mtaal | Review Assigned To | => mtaal | |||||||||
| 2015-11-05 13:57 | hgbot | Checkin | ||||||||||
| 2015-11-05 13:57 | hgbot | Note Added: 0081523 | ||||||||||
| 2015-11-05 13:57 | hgbot | Status | scheduled => resolved | |||||||||
| 2015-11-05 13:57 | hgbot | Resolution | open => fixed | |||||||||
| 2015-11-05 13:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/355649f6df32130bec9bc6acb5510487d217ab19 [^] | |||||||||
| 2015-11-05 14:05 | marvintm | Review Assigned To | mtaal => marvintm | |||||||||
| 2015-11-05 14:05 | marvintm | Status | resolved => closed | |||||||||
| 2015-11-05 14:05 | marvintm | Fixed in Version | => RR15Q4 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||