Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029363Retail ModulesWeb POSpublic2015-03-20 17:262015-03-27 17:20
Orekaria 
Orekaria 
normalminoralways
closedfixed 
5
 
RR15Q2 
marvintm
No
0029363: Stabilization: LogClient should not flush to the server if the application is busy
Stabilization: LogClient should not flush to the server if the application is busy
Simulate a slow connection in which the LogClient will try to flush while the application is being loaded (actual interval is 30 seconds)

Verify that the LogClient is flushing in the middle of the application loading process (BAD)

Verify that, if the loading process last 30 + 20 (logClient timeout) = 50 seconds, the LogClient times out and the application enters the offline mode (BAD)
No tags attached.
related to defect 0029332 new Retail Performance: LogClient should not persist until the business layer has persisted 
depends on design defect 0029277 closed Orekaria Stabilization: Prevent LogClient logging itself in an infinite loop 
depends on backport 0029364RR15Q1.3 closed Orekaria Stabilization: LogClient should not flush to the server if the application is busy 
has duplicate defect 0030651 closed Retail LogClient shouldn't be sent to the backend from the Web POS login window 
blocks feature request 0029377RR15Q3 closed Orekaria Stabilization: RR15Q2 related 
blocks defect 0029348RR15Q2 closed Orekaria Improve Log Client performance 
blocks defect 0028504RR15Q3 closed marvintm Log Client has a really bad performance and it is really difficult to work 
Issue History
2015-03-20 17:26OrekariaNew Issue
2015-03-20 17:26OrekariaAssigned To => Orekaria
2015-03-20 17:26OrekariaTriggers an Emergency Pack => No
2015-03-20 17:27OrekariaRelationship addedrelated to 0029332
2015-03-20 17:27OrekariaRelationship addeddepends on 0029277
2015-03-20 17:28OrekariaStatusnew => scheduled
2015-03-20 18:03hgbotCheckin
2015-03-20 18:03hgbotNote Added: 0075823
2015-03-20 18:03hgbotStatusscheduled => resolved
2015-03-20 18:03hgbotResolutionopen => fixed
2015-03-20 18:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b74c4c0eebfaa935064d529430b02acdd78dd5f0 [^]
2015-03-20 18:07hgbotCheckin
2015-03-20 18:07hgbotNote Added: 0075825
2015-03-23 14:53OrekariaRelationship addedblocks 0029377
2015-03-24 16:30OrekariaRelationship addedblocks 0029348
2015-03-26 12:17hgbotCheckin
2015-03-26 12:17hgbotNote Added: 0075994
2015-03-27 17:20marvintmReview Assigned To => marvintm
2015-03-27 17:20marvintmStatusresolved => closed
2015-03-27 17:20marvintmFixed in Version => RR15Q2
2015-03-31 09:59OrekariaRelationship addedblocks 0028504
2015-08-28 14:04OrekariaRelationship addedhas duplicate 0030651
2015-08-28 14:04OrekariaRelationship addedblocks 0030695
2015-08-28 14:05OrekariaRelationship replacedhas duplicate 0030695

Notes
(0075823)
hgbot   
2015-03-20 18:03   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b74c4c0eebfaa935064d529430b02acdd78dd5f0
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 20 18:02:47 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b74c4c0eebfaa935064d529430b02acdd78dd5f0 [^]

Fixes issue 29363: LogClient will only flush to the server if the application is idle

---
M web/org.openbravo.mobile.core/source/utils/logClientSyncUtils.js
---
(0075825)
hgbot   
2015-03-20 18:07   
Repository: tools/automation/pi-mobile
Changeset: 08af2b99fa97e8a113f6598de20d7bf35966da6b
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 20 17:49:57 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/08af2b99fa97e8a113f6598de20d7bf35966da6b [^]

Related to issue 29363: Modified test logic to be aware of this change

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/APIs/MobileCoreAPI.java
---
(0075994)
hgbot   
2015-03-26 12:17   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6bcfc3a20857b0f0da6bafe02a375d834e82f91f
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Mar 26 12:16:15 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6bcfc3a20857b0f0da6bafe02a375d834e82f91f [^]

Related to issue 29363: If a critical error happen during the loading process, the LogClient is allowed to flush

Note that some of the critical loading errors can take place before the LogClient has been started

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