Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046972Retail ModulesWeb POSpublic2021-06-03 09:292021-11-02 12:22
guillermogil 
gorka_gil 
normalmajoralways
closedfixed 
5
 
RR21Q3 
No
0046972: Terminal log gets synched several times if the record in not on C_Import_Entry
Terminal log gets synched several times if the record in not on C_Import_Entry.
TerminalLog record is not archived, just deleted. Therefore in case of bad connectivity it will sync the records, WebPOS will not get notified and will try to send them again when online.
If the process to archive gets executed the TerminalLog Import Entries are removed so the backoffice will detect them as new and will sync them again.
Put WebPOS in offline
Generate some log
Put the connectivity in an almost offline status
Sync the records
Wait until the archive process gets executed
Sync the records

You have twice the same Terminal Logs
NOR
Issue History
2021-06-03 09:29guillermogilNew Issue
2021-06-03 09:29guillermogilAssigned To => Retail
2021-06-03 09:29guillermogilResolution time => 1624485600
2021-06-03 09:29guillermogilTriggers an Emergency Pack => No
2021-06-11 14:09gorka_gilAssigned ToRetail => gorka_gil
2021-06-11 14:09gorka_gilStatusnew => acknowledged
2021-06-11 14:09gorka_gilStatusacknowledged => scheduled
2021-06-14 19:12hgbotNote Added: 0129492
2021-06-17 09:59hgbotResolutionopen => fixed
2021-06-17 09:59hgbotStatusscheduled => closed
2021-06-17 09:59hgbotNote Added: 0129601
2021-06-17 09:59hgbotFixed in Version => RR21Q3
2021-06-17 09:59hgbotNote Added: 0129602
2021-11-02 12:22sebastien_lironTag Attached: NOR

Notes
(0129492)
hgbot   
2021-06-14 19:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/236 [^]
(0129601)
hgbot   
2021-06-17 09:59   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/236 [^]
(0129602)
hgbot   
2021-06-17 09:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 6ec249656d4a21daae40b7bd357ee4264700a264
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-06-17T07:58:46+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/6ec249656d4a21daae40b7bd357ee4264700a264 [^]

Fixes ISSUE-46972: avoid duplicated terminal log messages

---
M src/org/openbravo/mobile/core/TerminalLogLoader.java
M src/org/openbravo/mobile/core/UserEventLoaderQueries_data.xsql
---