Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040435Retail ModulesStoreServerpublic2019-03-21 18:422019-05-06 15:39
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
 
mtaal
No
0040435: Wrong log showed when receiving a ping after the CS was not reachable
The following log is showed:

Store offline, new Ping received from central server after >3 pings missed. Transitioning to online.

It is not correct, since it is shown even if the store was not offline. It should be updated
-
No tags attached.
Issue History
2019-03-21 18:42AugustoMauchNew Issue
2019-03-21 18:42AugustoMauchAssigned To => AugustoMauch
2019-03-21 18:42AugustoMauchTriggers an Emergency Pack => No
2019-04-25 10:15hgbotCheckin
2019-04-25 10:15hgbotNote Added: 0111300
2019-04-25 10:15hgbotStatusnew => resolved
2019-04-25 10:15hgbotResolutionopen => fixed
2019-04-25 10:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4c403fe5a8bb7f1da38cd90bdf2466c9b93716cf [^]
2019-04-25 10:29AugustoMauchReview Assigned To => mtaal
2019-05-06 15:39mtaalNote Added: 0111503
2019-05-06 15:39mtaalStatusresolved => closed

Notes
(0111300)
hgbot   
2019-04-25 10:15   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4c403fe5a8bb7f1da38cd90bdf2466c9b93716cf
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Apr 25 10:15:04 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4c403fe5a8bb7f1da38cd90bdf2466c9b93716cf [^]

Fixes issue 40435: Log is no longer incorrect when receiving a ping from the CS

The store server was assuming that it was offline when it received a ping from the central server after some time
without receiving any ping. That's not how it worked, because missing some pings no longer forces a transition to
offline.

So now the store server will only force a transition to online and show a log message if it actually was offline when
it received a ping from the central server.

---
M src/org/openbravo/mobile/core/servercontroller/MobileServerStatusInformation.java
---
(0111503)
mtaal   
2019-05-06 15:39   
Reviewed