Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0037379 | Retail Modules | StoreServer | public | 2017-11-24 07:10 | 2017-11-29 15:57 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0037379: In mobile server request executor when read time out occurs then do not go offline |
Description | See the related issue for details of code location. Currently the store server will transition to offline also if the CS can be reached but is very slow. The idea is to change this and only transition to offline in case of connection time outs. |
Steps To Reproduce | See related issue |
Proposed Solution | Catch the specific exception, retry but do not transition to offline. |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | feature request | 0037249 | pi | closed | mtaal | For server to server requests set read and connection time out |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-11-24 07:10 | mtaal | New Issue | |
2017-11-24 07:10 | mtaal | Assigned To | => mtaal |
2017-11-24 07:10 | mtaal | Triggers an Emergency Pack | => No |
2017-11-24 07:11 | mtaal | Relationship added | depends on 0037249 |
2017-11-26 13:22 | mtaal | Note Added: 0100714 | |
2017-11-26 13:29 | mtaal | Note Added: 0100715 | |
2017-11-26 17:48 | mtaal | Note Edited: 0100715 | bug_revision_view_page.php?bugnote_id=0100715#r16383 |
2017-11-26 18:43 | mtaal | Note Edited: 0100715 | bug_revision_view_page.php?bugnote_id=0100715#r16384 |
2017-11-26 18:44 | mtaal | Note Edited: 0100715 | bug_revision_view_page.php?bugnote_id=0100715#r16385 |
2017-11-26 23:09 | mtaal | Review Assigned To | => AugustoMauch |
2017-11-26 23:10 | hgbot | Checkin | |
2017-11-26 23:10 | hgbot | Note Added: 0100717 | |
2017-11-26 23:10 | hgbot | Status | new => resolved |
2017-11-26 23:10 | hgbot | Resolution | open => fixed |
2017-11-26 23:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f637adf4814f52a51f216804a530274af8a126a6 [^] |
2017-11-27 10:18 | mtaal | Review Assigned To | AugustoMauch => migueldejuana |
2017-11-29 15:57 | migueldejuana | Note Added: 0100814 | |
2017-11-29 15:57 | migueldejuana | Status | resolved => closed |
Notes |
|
(0100714)
|
mtaal
|
2017-11-26 13:22
|
|
|
|
(0100715)
|
mtaal
|
2017-11-26 13:29
(edited on: 2017-11-26 18:44) |
|
For get a readtime out do the following:
- install/run multiserver
- set the read time out preference to a low value (1 minute) to make it easier to test
- set a breakpoint in the MobileService class in the CS
- enter a ticket in webpos, check the SS code that it read times out but does not go offline
Do the above test also with the preference set to Y to check the preference logic.
Note also the comments in the code (see diff) that subsequent requests are handled with readtimeout depending on where you put the breakpoint.
|
|
|
(0100717)
|
hgbot
|
2017-11-26 23:10
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f637adf4814f52a51f216804a530274af8a126a6
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Nov 26 23:09:02 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f637adf4814f52a51f216804a530274af8a126a6 [^]
Fixes issue 37379: In mobile server request executor when read time out occurs then do not go offline
In case of read time out then do not go offline, help to control this using a preference
Note: the changeset is somewhat larger because it includes changing from a recursive call to a while loop
---
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java
---
|
|
|
|
|