Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034762
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServerminorhave not tried2016-12-16 22:572016-12-28 09:53
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revision0d73e9df0d0c
ProjectionnoneETAnoneTarget VersionRR17Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned ToSandrahuguet
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034762: Improve the logging/display of why a server remains offline

DescriptionCurrently 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.
Steps To ReproduceInstall multi-server
Start central and store
Stop central
Check the store server, not very clear why it goes offline
Proposed SolutionImprove logging of offline by adding a field to the mobile server which shows its offline state.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0092737)
hgbot (developer)
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 (developer)
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 (viewer)
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 (viewer)
2016-12-27 16:17

Help and description for Offline Log column, element and field are required
(0093031)
hgbot (developer)
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 (viewer)
2016-12-28 09:53

reviewed and tested

- Issue History
Date Modified Username Field Change
2016-12-16 22:57 mtaal New Issue
2016-12-16 22:57 mtaal Assigned To => mtaal
2016-12-16 22:57 mtaal OBNetwork customer => No
2016-12-16 22:57 mtaal Triggers an Emergency Pack => No
2016-12-18 22:01 hgbot Checkin
2016-12-18 22:01 hgbot Note Added: 0092737
2016-12-18 22:01 hgbot Status new => resolved
2016-12-18 22:01 hgbot Resolution open => fixed
2016-12-18 22:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ffd98ce83ac03ccf5df4f9727cbd2b6194c622be [^]
2016-12-18 22:06 hgbot Checkin
2016-12-18 22:06 hgbot Note Added: 0092738
2016-12-18 23:05 mtaal Note Added: 0092740
2016-12-18 23:07 mtaal Note Edited: 0092740 View Revisions
2016-12-19 09:31 mtaal Review Assigned To => Sandrahuguet
2016-12-27 16:17 Sandrahuguet Note Added: 0093026
2016-12-27 16:17 Sandrahuguet Status resolved => new
2016-12-27 16:17 Sandrahuguet Resolution fixed => open
2016-12-27 19:44 hgbot Checkin
2016-12-27 19:44 hgbot Note Added: 0093031
2016-12-27 19:44 hgbot Status new => resolved
2016-12-27 19:44 hgbot Resolution open => fixed
2016-12-27 19:44 hgbot Fixed in SCM revision http://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:53 Sandrahuguet Note Added: 0093034
2016-12-28 09:53 Sandrahuguet Status resolved => closed
2016-12-28 09:53 Sandrahuguet Fixed in Version => RR17Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker