Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0037909 | Retail Modules | StoreServer | public | 2018-02-13 22:05 | 2018-03-14 15:38 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR18Q2 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0037909: In store server: ServerStateBackGround process should not trigger to go offline |
Description | The ServerStateBackground process [1] is run both in central as well in the store server. In the store server when it detects that no timestamp update was received from the central server for a certain time the process will trigger a transition to offline.
The idea is to not let the process do this. This because transition to offline is only needed during business/opening hours and in that case it should only be triggered by user actions not behind the scenes.
[1]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/ServerStateBackground.java#l99 [^]
|
Steps To Reproduce | Install multi-server with server state background process enabled on store and central
Stop central
After 15 mins the store will transition to offline |
Proposed Solution | Remove the code that does the transition to offline. Keep the transition to online code. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 37909.diff (1,848) 2018-02-14 10:52 https://issues.openbravo.com/file_download.php?file_id=11575&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2018-02-13 22:05 | mtaal | New Issue | |
2018-02-13 22:05 | mtaal | Assigned To | => mtaal |
2018-02-13 22:05 | mtaal | OBNetwork customer | => No |
2018-02-13 22:05 | mtaal | Triggers an Emergency Pack | => No |
2018-02-14 10:52 | mtaal | File Added: 37909.diff | |
2018-02-14 21:05 | hgbot | Checkin | |
2018-02-14 21:05 | hgbot | Note Added: 0102419 | |
2018-02-14 21:05 | hgbot | Status | new => resolved |
2018-02-14 21:05 | hgbot | Resolution | open => fixed |
2018-02-14 21:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a6d5be7a45b55c008bcb7b1f00bc8a31cc1493c8 [^] |
2018-03-13 23:14 | mtaal | Assigned To | mtaal => |
2018-03-13 23:15 | mtaal | Review Assigned To | => AugustoMauch |
2018-03-13 23:35 | mtaal | Assigned To | => mtaal |
2018-03-14 12:25 | hgbot | Checkin | |
2018-03-14 12:25 | hgbot | Note Added: 0103239 | |
2018-03-14 15:38 | AugustoMauch | Note Added: 0103243 | |
2018-03-14 15:38 | AugustoMauch | Status | resolved => closed |
2018-03-14 15:38 | AugustoMauch | Fixed in Version | => RR18Q2 |
Notes |
|
(0102419)
|
hgbot
|
2018-02-14 21:05
|
|
|
|
(0103239)
|
hgbot
|
2018-03-14 12:25
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7623d25c0a3db38e3730363b7d53be2c32ea0714
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Mar 14 12:24:34 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7623d25c0a3db38e3730363b7d53be2c32ea0714 [^]
Related with issue 37909: Enables going offline if no pings are received
By default if the store server stops receiving pings from the centarl server, it will not go offline until there is a
user action that results in a request to the central server.
This changeset adds the OBMOBC_Offline_Triggered_Only_By_User_Actions preference. If set to N, the store server will go
offline when it stops receiving pings from the central server. This preference will be used in the store server automated
testing jobs, where it is expected that the store server will go automatically offline some time after the central server
has been stopped.
---
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/mobile/core/servercontroller/ServerStateBackground.java
---
|
|
|
|
Code reviewed and verified |
|