Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036832Retail ModulesWeb POSpublic2017-08-24 13:002017-09-15 13:24
maite 
migueldejuana 
urgentmajoralways
closedfixed 
5
 
RR17Q3RR17Q3 
marvintm
No
0036832: Duplicated records in c_import_entry_archive under some circumstances
Receipts paid in the terminal are considered by RunSynchProcess to move them from local c_order table to message table. This is not hapenning in same transaction so in case terminal is reloaded (F5) when message has been created but order has not been deleted it is possible that 2 different records in message table are created for same order
1. Configure bad networking conditions
2. Create a ticket and pay it
3. Press F5 immediately to reload terminal
4. Check the backend, and verify that two import entries were created for the same ticket. This is wrong.
No tags attached.
blocks defect 0036712 closed migueldejuana Duplicated records in c_import_entry_archive under some circumstances 
Issue History
2017-09-11 19:12marvintmTypedefect => backport
2017-09-11 19:12marvintmTarget Version => RR17Q3
2017-09-12 10:58hgbotCheckin
2017-09-12 10:58hgbotNote Added: 0098973
2017-09-12 10:58hgbotStatusscheduled => resolved
2017-09-12 10:58hgbotResolutionopen => fixed
2017-09-12 10:58hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7d593fa0bdf68b2353f0cdf1bc9e9a38fedb6be6 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.mobile.core/rev/bdb46289987bd93755bd7682232c372f744a884e [^]
2017-09-14 15:47marvintmAssigned ToRetail => migueldejuana
2017-09-15 13:24marvintmStatusresolved => closed
2017-09-15 13:24marvintmFixed in Version => RR17Q3

Notes
(0098973)
hgbot   
2017-09-12 10:58   
Repository: retail/backports/3.0RR17Q3/org.openbravo.mobile.core
Changeset: bdb46289987bd93755bd7682232c372f744a884e
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Sep 12 10:57:58 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.mobile.core/rev/bdb46289987bd93755bd7682232c372f744a884e [^]

Fixed issue 0036832: Duplicated records in c_import_entry_archive under some circumstances

- Creating a message and deleting the related model in the local database must be in the same transaction.

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---