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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037839
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] StoreServermajorhave not tried2018-02-06 11:052018-03-14 11:13
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR18Q2
StatusclosedFix in branchFixed in SCM revision6ef2cc3bcfd4
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037839: When transition to offline ping central server

DescriptionThe current code uses the timestamp method to wait/check when the CS has last contacted the SS. It should instead do a ping. The links below for related code.

https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java#l167 [^]

https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/ServerStateBackground.java#l200 [^]
Steps To ReproduceSee above
TagsNo tags attached.
Attached Filesdiff file icon 37839.diff [^] (6,679 bytes) 2018-02-14 10:53 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0102420)
hgbot (developer)
2018-02-14 21:06

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 6ef2cc3bcfd4027ffbf2dea674d6bee3adc80c3d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Feb 14 21:06:00 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6ef2cc3bcfd4027ffbf2dea674d6bee3adc80c3d [^]

Fixes issue 37839: When transition to offline ping central server
Do an explicit ping to the central server when transitioning to offline

---
M src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java
---
(0102912)
Sandrahuguet (developer)
2018-03-02 11:15

I think that storeserver job[1] start failing since this commit

[1]http://ci.openbravo.com/view/storeserver/job/ret-ms-store1-pgsql/1137/testReport/junit/org.openbravo.test.mobile.retail.multiserver.selenium.tests.offline/OfflineMSCentral001_SalesFlow/test_2/ [^]
(0103235)
AugustoMauch (manager)
2018-03-14 11:08

This [1] is the change that broke the store server job, it was pushed the same day as [2]

[1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a6d5be7a45b55c008bcb7b1f00bc8a31cc1493c8 [^]
[2] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6ef2cc3bcfd4027ffbf2dea674d6bee3adc80c3d [^]
(0103236)
AugustoMauch (manager)
2018-03-14 11:13

Code reviewed and verified

- Issue History
Date Modified Username Field Change
2018-02-06 11:05 mtaal New Issue
2018-02-06 11:05 mtaal Assigned To => mtaal
2018-02-06 11:05 mtaal Triggers an Emergency Pack => No
2018-02-14 10:53 mtaal File Added: 37839.diff
2018-02-14 21:06 hgbot Checkin
2018-02-14 21:06 hgbot Note Added: 0102420
2018-02-14 21:06 hgbot Status new => resolved
2018-02-14 21:06 hgbot Resolution open => fixed
2018-02-14 21:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6ef2cc3bcfd4027ffbf2dea674d6bee3adc80c3d [^]
2018-03-02 11:15 Sandrahuguet Note Added: 0102912
2018-03-11 23:44 mtaal Review Assigned To => AugustoMauch
2018-03-14 11:08 AugustoMauch Note Added: 0103235
2018-03-14 11:13 AugustoMauch Note Added: 0103236
2018-03-14 11:13 AugustoMauch Status resolved => closed
2018-03-14 11:13 AugustoMauch Fixed in Version => RR18Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker