Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036712Retail ModulesWeb POSpublic2017-08-24 13:002017-10-10 11:47
maite 
migueldejuana 
urgentmajoralways
closedfixed 
5
 
RR17Q4 
marvintm
Production - Confirmed Stable
2016-11-01
RR16Q4
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/aec490774ae7 [^]
No
0036712: 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.
depends on backport 0036832RR17Q3 closed migueldejuana Duplicated records in c_import_entry_archive under some circumstances 
depends on backport 0036833RR17Q2.3 closed migueldejuana Duplicated records in c_import_entry_archive under some circumstances 
has duplicate defect 0036811 closed Retail Import entries of type "Business partner" are duplicated 
diff issue36712MobileCore17Q11.diff (4,825) 2017-08-31 13:57
https://issues.openbravo.com/file_download.php?file_id=11028&type=bug
Issue History
2017-08-24 13:00maiteNew Issue
2017-08-24 13:00maiteAssigned To => Retail
2017-08-24 13:00maiteResolution time => 1504130400
2017-08-24 13:00maiteTriggers an Emergency Pack => No
2017-08-24 13:00maiteIssue Monitored: networkb
2017-08-24 13:08marvintmSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15704#r15704
2017-08-29 12:45hgbotCheckin
2017-08-29 12:45hgbotNote Added: 0098696
2017-08-29 12:45hgbotStatusnew => resolved
2017-08-29 12:45hgbotResolutionopen => fixed
2017-08-29 12:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7d593fa0bdf68b2353f0cdf1bc9e9a38fedb6be6 [^]
2017-08-30 15:46marvintmReview Assigned To => marvintm
2017-08-30 15:46marvintmStatusresolved => closed
2017-08-30 15:46marvintmFixed in Version => RR17Q4
2017-08-31 13:57migueldejuanaFile Added: issue36712MobileCore17Q11.diff
2017-09-11 19:12marvintmStatusclosed => new
2017-09-11 19:12marvintmResolutionfixed => open
2017-09-11 19:12marvintmFixed in VersionRR17Q4 =>
2017-09-11 19:12marvintmStatusnew => scheduled
2017-09-11 19:12marvintmStatusscheduled => resolved
2017-09-11 19:12marvintmFixed in Version => RR17Q4
2017-09-11 19:12marvintmResolutionopen => fixed
2017-09-11 19:13marvintmStatusresolved => closed
2017-09-14 15:48marvintmAssigned ToRetail => migueldejuana
2017-09-25 13:11marvintmRelationship addedhas duplicate 0036811
2017-10-10 11:47marvintmRegression level => Production - Confirmed Stable
2017-10-10 11:47marvintmRegression date => 2016-11-01
2017-10-10 11:47marvintmRegression introduced in release => RR16Q4
2017-10-10 11:47marvintmRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/aec490774ae7 [^]

Notes
(0098696)
hgbot   
2017-08-29 12:45   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7d593fa0bdf68b2353f0cdf1bc9e9a38fedb6be6
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Aug 29 11:46:47 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7d593fa0bdf68b2353f0cdf1bc9e9a38fedb6be6 [^]

Fixed issue 0036712: 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
---