Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034762Retail ModulesStoreServerpublic2016-12-16 22:572016-12-28 09:53
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR17Q1RR17Q1 
Sandrahuguet
No
No
0034762: Improve the logging/display of why a server remains offline
Currently it is not very clear why a server is offline. The offline state can be caused by many things, not reachable central server, access to StockMD.
Install multi-server
Start central and store
Stop central
Check the store server, not very clear why it goes offline
Improve logging of offline by adding a field to the mobile server which shows its offline state.
No tags attached.
Issue History
2016-12-16 22:57mtaalNew Issue
2016-12-16 22:57mtaalAssigned To => mtaal
2016-12-16 22:57mtaalOBNetwork customer => No
2016-12-16 22:57mtaalTriggers an Emergency Pack => No
2016-12-18 22:01hgbotCheckin
2016-12-18 22:01hgbotNote Added: 0092737
2016-12-18 22:01hgbotStatusnew => resolved
2016-12-18 22:01hgbotResolutionopen => fixed
2016-12-18 22:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ffd98ce83ac03ccf5df4f9727cbd2b6194c622be [^]
2016-12-18 22:06hgbotCheckin
2016-12-18 22:06hgbotNote Added: 0092738
2016-12-18 23:05mtaalNote Added: 0092740
2016-12-18 23:07mtaalNote Edited: 0092740bug_revision_view_page.php?bugnote_id=0092740#r14045
2016-12-19 09:31mtaalReview Assigned To => Sandrahuguet
2016-12-27 16:17SandrahuguetNote Added: 0093026
2016-12-27 16:17SandrahuguetStatusresolved => new
2016-12-27 16:17SandrahuguetResolutionfixed => open
2016-12-27 19:44hgbotCheckin
2016-12-27 19:44hgbotNote Added: 0093031
2016-12-27 19:44hgbotStatusnew => resolved
2016-12-27 19:44hgbotResolutionopen => fixed
2016-12-27 19:44hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ffd98ce83ac03ccf5df4f9727cbd2b6194c622be [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0d73e9df0d0c423ddb631e881f0ee357994122d4 [^]
2016-12-28 09:53SandrahuguetNote Added: 0093034
2016-12-28 09:53SandrahuguetStatusresolved => closed
2016-12-28 09:53SandrahuguetFixed in Version => RR17Q1

Notes
(0092737)
hgbot   
2016-12-18 22:01   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: ffd98ce83ac03ccf5df4f9727cbd2b6194c622be
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Dec 18 22:00:55 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ffd98ce83ac03ccf5df4f9727cbd2b6194c622be [^]

Fixes issue 34762: Improve the logging/display of why a server remains offline
Add offline_log column to table and related window. Set debugging type of information
in the column where appropriate, also set back to null in case of online mode reached.

---
M src-db/database/model/tables/OBMOBC_SERVER_DEFINITION.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerTransitionToOnlineHandler.java
M src/org/openbravo/mobile/core/servercontroller/ServerStateBackground.java
---
(0092738)
hgbot   
2016-12-18 22:06   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: c7d116e33e9769afaf08b6c1d0330d5634813bcc
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Dec 18 22:06:09 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/c7d116e33e9769afaf08b6c1d0330d5634813bcc [^]

Related to issue 34762: Improve the logging/display of why a server remains offline
To show the offline log information from the store server, replicate the mobile server record
back from the store to the central server, use a separate channel so that it does not get blocked
by other blocking synchronizations.
Provide a better log from the online sync transition handler.

---
M src-db/database/sourcedata/STRSYNC_SYNCHRONIZEDTABLE.xml
M src-db/database/sourcedata/STRSYNC_SYNCH_CHANNEL.xml
M src/org/openbravo/retail/storeserver/synchronization/SyncStatusOnlineTransitionHandler.java
---
(0092740)
mtaal   
2016-12-18 23:05   
(edited on: 2016-12-18 23:07)
Documentation:
http://wiki.openbravo.com/wiki/Store_Server_Online_and_Offline_Concepts#Causes_for_staying_offline [^]
http://wiki.openbravo.com/wiki/Retail:Configuration_Guide#Mobile_Server_Definition [^]

Also updated docs in other areas, like troubleshooting etc.

(0093026)
Sandrahuguet   
2016-12-27 16:17   
Help and description for Offline Log column, element and field are required
(0093031)
hgbot   
2016-12-27 19:44   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 0d73e9df0d0c423ddb631e881f0ee357994122d4
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Dec 27 19:44:21 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0d73e9df0d0c423ddb631e881f0ee357994122d4 [^]

Fixes issue 34762: Improve the logging/display of why a server remains offline
Added help and description, change label from 'Offline Log' to 'Offline Cause'

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0093034)
Sandrahuguet   
2016-12-28 09:53   
reviewed and tested