Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037863Retail ModulesWeb POSpublic2018-02-08 16:522018-02-28 17:52
Sandrahuguet 
Sandrahuguet 
normalminorhave not tried
closedfixed 
30Openbravo Appliance 14.04
 
RR18Q2 
marvintm
No
0037863: UpdateCashup.getAndUpdateCashUp does accidental 2*flush
The getAndUpdateCashUp() function contains:

OBDal.getInstance().flush();
OBDal.getInstance().getConnection().commit();

getConnection with true value includes a flush()
N/A
Performance
Issue History
2018-02-08 16:52SandrahuguetNew Issue
2018-02-08 16:52SandrahuguetAssigned To => Retail
2018-02-08 16:52SandrahuguetTriggers an Emergency Pack => No
2018-02-08 16:53SandrahuguetTag Attached: Performance
2018-02-28 17:05SandrahuguetReview Assigned To => marvintm
2018-02-28 17:06hgbotCheckin
2018-02-28 17:06hgbotNote Added: 0102872
2018-02-28 17:06hgbotStatusnew => resolved
2018-02-28 17:06hgbotResolutionopen => fixed
2018-02-28 17:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/30b11fecec19534c34b55486a94c65b8b0bf5ec3 [^]
2018-02-28 17:52marvintmAssigned ToRetail => Sandrahuguet
2018-02-28 17:52marvintmStatusresolved => closed
2018-02-28 17:52marvintmFixed in Version => RR18Q2

Notes
(0102872)
hgbot   
2018-02-28 17:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 30b11fecec19534c34b55486a94c65b8b0bf5ec3
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Feb 08 17:00:53 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/30b11fecec19534c34b55486a94c65b8b0bf5ec3 [^]

Fixed issue 37863 set getConnectio parameter to false in order
 to avoid the duplicate flush

---
M src/org/openbravo/retail/posterminal/UpdateCashup.java
---