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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035592
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajorhave not tried2017-03-22 11:172017-03-29 14:22
ReportermtaalView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione2fa7039a806
ProjectionnoneETAnoneTarget VersionRR17Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035592: Transition to online should wait longer between transition to online loops

DescriptionCurrently the code waits only 50 millis [1]. This while in some cases a transition to online waits for/requires a db synchronization. The proposal is to wait 10+ seconds.

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/553553b86771/src/org/openbravo/mobile/core/servercontroller/MobileServerController.java#l634 [^]
Steps To ReproduceInstall multi-server
Put breakpoint in above code
Stop central
Change data to force outgoing batches
go online, check that the above code is executed
Proposed SolutionInstead of sleep(50), do a sleep of 20 seconds.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0095637)
hgbot (developer)
2017-03-29 12:33

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e2fa7039a8069d5995d7cfa9899c9e69736e2bd6
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Mar 29 12:18:27 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e2fa7039a8069d5995d7cfa9899c9e69736e2bd6 [^]

Fixes issue 35592: Waits 10 seconds between transition to online attempts

This gives more time for the transition to online conditions to be satisfied

---
M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java
---
(0095638)
hgbot (developer)
2017-03-29 12:35

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: a6b478193e7f7da5605bea233761fd42bf92727b
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Mar 29 12:34:59 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/a6b478193e7f7da5605bea233761fd42bf92727b [^]

Related with issue 35592: Wait some seconds after forcing push job start

---
M src/org/openbravo/retail/storeserver/synchronization/SyncStatusOnlineTransitionHandler.java
---
(0095646)
mtaal (manager)
2017-03-29 14:22

Reviewed

- Issue History
Date Modified Username Field Change
2017-03-22 11:17 mtaal New Issue
2017-03-22 11:17 mtaal Assigned To => mtaal
2017-03-22 11:17 mtaal Triggers an Emergency Pack => No
2017-03-29 11:00 AugustoMauch Assigned To mtaal => AugustoMauch
2017-03-29 12:33 hgbot Checkin
2017-03-29 12:33 hgbot Note Added: 0095637
2017-03-29 12:33 hgbot Status new => resolved
2017-03-29 12:33 hgbot Resolution open => fixed
2017-03-29 12:33 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e2fa7039a8069d5995d7cfa9899c9e69736e2bd6 [^]
2017-03-29 12:35 hgbot Checkin
2017-03-29 12:35 hgbot Note Added: 0095638
2017-03-29 12:42 AugustoMauch Review Assigned To => mtaal
2017-03-29 14:22 mtaal Note Added: 0095646
2017-03-29 14:22 mtaal Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker