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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033177
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2016-06-07 18:072016-06-23 11:39
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision4d876100807c
ProjectionnoneETAnoneTarget VersionRR16Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033177: Connection retry should not happen if the other server responds even with offline status

DescriptionThe MobileServerRequestExecutor retries a request if the other server responds with an offline status:
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/89ae499ba562/src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java#l127 [^]

However, the logic should change. If the other server reports offline we can assume that it is reachable and should return the response.

Steps To ReproduceCreate multi server environment
Set all multi-server prefs and schedule server state process to run every 30 secs
Start store and central
Stop central
Store goes offline
Start central
Schedule a process on the store while it is still offline: notice that the request is tried 3 times and no response is return.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0087107)
hgbot (developer)
2016-06-08 23:12

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4d876100807cfb2f55f5c6d952fc5a6826221042
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 08 23:11:38 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4d876100807cfb2f55f5c6d952fc5a6826221042 [^]

Fixes issue 33177: Connection retry should not happen if the other server responds even with offline status
Change the retry connection flow to just return value

---
M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java
---
(0087849)
migueldejuana (developer)
2016-06-23 11:39

Tested and reviewed

- Issue History
Date Modified Username Field Change
2016-06-07 18:07 mtaal New Issue
2016-06-07 18:07 mtaal Assigned To => mtaal
2016-06-07 18:07 mtaal Triggers an Emergency Pack => No
2016-06-08 23:12 hgbot Checkin
2016-06-08 23:12 hgbot Note Added: 0087107
2016-06-08 23:12 hgbot Status new => resolved
2016-06-08 23:12 hgbot Resolution open => fixed
2016-06-08 23:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4d876100807cfb2f55f5c6d952fc5a6826221042 [^]
2016-06-20 16:21 mtaal Review Assigned To => migueldejuana
2016-06-23 11:39 migueldejuana Note Added: 0087849
2016-06-23 11:39 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker