Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043057Retail ModulesWeb POSpublic2020-01-29 19:362020-02-17 16:11
malsasua 
markmm82 
normalminoralways
closedfixed 
5
 
RR20Q2 
guilleaer
No
0043057: Add log traces during incrementar refresh process
Add below log traces in the incremental refresh process:
. during background-request process:
-new log trace: total count records retrieved from server
-new log trace: total time taken by the background request process

. during background-save process:
-new log trace: total count records stored in database during the process
-new log trace: total time taken by the background save process
n/a
No tags attached.
Issue History
2020-01-29 19:36malsasuaNew Issue
2020-01-29 19:36malsasuaAssigned To => Retail
2020-01-29 19:36malsasuaResolution time => 1582153200
2020-01-29 19:36malsasuaTriggers an Emergency Pack => No
2020-02-03 15:36markmm82Statusnew => acknowledged
2020-02-03 17:07markmm82Assigned ToRetail => markmm82
2020-02-03 17:07markmm82Statusacknowledged => scheduled
2020-02-12 01:42hgbotCheckin
2020-02-12 01:42hgbotNote Added: 0117661
2020-02-12 01:42hgbotStatusscheduled => resolved
2020-02-12 01:42hgbotResolutionopen => fixed
2020-02-12 01:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/230aa2e68849ae3ea9ba810b6a54a4328dfce2b0 [^]
2020-02-17 13:26guilleaerNote Added: 0117855
2020-02-17 13:26guilleaerStatusresolved => new
2020-02-17 13:26guilleaerResolutionfixed => open
2020-02-17 14:41hgbotCheckin
2020-02-17 14:41hgbotNote Added: 0117869
2020-02-17 14:53markmm82Statusnew => scheduled
2020-02-17 15:49guilleaerNote Added: 0117873
2020-02-17 15:49guilleaerStatusscheduled => resolved
2020-02-17 15:49guilleaerResolutionopen => fixed
2020-02-17 16:11guilleaerReview Assigned To => guilleaer
2020-02-17 16:11guilleaerStatusresolved => closed
2020-02-17 16:11guilleaerFixed in Version => RR20Q2

Notes
(0117661)
hgbot   
2020-02-12 01:42   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 230aa2e68849ae3ea9ba810b6a54a4328dfce2b0
Author: Mark Molina <mark.molina <at> doceleguas.com>
Date: Tue Feb 11 21:08:14 2020 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/230aa2e68849ae3ea9ba810b6a54a4328dfce2b0 [^]

Fixes issue 43057: Added log traces during incremental refresh processes

Were added some logs to notice the total time and records count affected by the
background-request and the background-save processes during incremental refresh
processes.

Logs can be identified in the browser console by the following prefixes:
During the an incremental data load for models:
[background-request-incremental]
[background-save-incremental]

During the a full data load for models:
[background-request-full]
[background-save-full]

The logs have the following structure:
Loaded/Saved <total records loaded or saved> records in the process. Finished after
<total ellapsed time for loading/saving> miliseconds.

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0117855)
guilleaer   
2020-02-17 13:26   
Information about save/update in DB is shown when just requests were executed
Information about requests is shown when just save/update in DB was executed
(0117869)
hgbot   
2020-02-17 14:41   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 88e43dbac88f5b621fb5b8d5ed81cd89098f2821
Author: Mark Molina <mark.molina <at> doceleguas.com>
Date: Mon Feb 17 10:40:21 2020 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/88e43dbac88f5b621fb5b8d5ed81cd89098f2821 [^]

Related to issue 43057:Only show information for the executed background process

It is only show information for an specific background process if it was executed
in the master data refresh.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0117873)
guilleaer   
2020-02-17 15:49   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 88e43dbac88f5b621fb5b8d5ed81cd89098f2821
Author: Mark Molina <mark.molina <at> doceleguas.com>
Date: Mon Feb 17 10:40:21 2020 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/88e43dbac88f5b621fb5b8d5ed81cd89098f2821 [^] [^]

Related to issue 43057:Only show information for the executed background process

It is only show information for an specific background process if it was executed
in the master data refresh.

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