Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037909 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] StoreServer | major | have not tried | 2018-02-13 22:05 | 2018-03-14 15:38 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a6d5be7a45b5 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0102419) hgbot (developer) 2018-02-14 21:05 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: a6d5be7a45b55c008bcb7b1f00bc8a31cc1493c8 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Wed Feb 14 21:05:07 2018 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a6d5be7a45b55c008bcb7b1f00bc8a31cc1493c8 [^] Fixes issue 37909: In store server: ServerStateBackGround process should not trigger to go offline Prevent going offline, still log it --- M src/org/openbravo/mobile/core/servercontroller/ServerStateBackground.java --- |
(0103239) hgbot (developer) 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 --- |
(0103243) AugustoMauch (administrator) 2018-03-14 15:38 |
Code reviewed and verified |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |