Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033177 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2016-06-07 18:07 | 2016-06-23 11:39 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 4d876100807c | ||||
Projection | none | ETA | none | Target Version | RR16Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033177: Connection retry should not happen if the other server responds even with offline status | |||||||
Description | The 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 Reproduce | Create 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (viewer) 2016-06-23 11:39 |
Tested and reviewed |
![]() |
|||
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 | OBNetwork customer | => No |
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 |