Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0039187 | Retail Modules | StoreServer | public | 2018-08-24 14:45 | 2018-08-25 00:41 | |||||||
Reporter | AugustoMauch | |||||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | normal | Severity | critical | 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 | mtaal | |||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039187: Store server can remain indefinitely in Transition to Offline status | |||||||||||
Description | Under certain circumstances the store server can remain in the Transition to Offline status indefinitely. While in this status, the POS Terminals of the store cannot work. This line is the cause of the problem [1]. The transition to online is cancelled, but the status of the mobile server is not updated (for instance, it is updated in this other flow [2]). [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/3c1bc36f021e/src/org/openbravo/mobile/core/servercontroller/MobileServerController.java#l628 [^] [2] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/3c1bc36f021e/src/org/openbravo/mobile/core/servercontroller/MobileServerController.java#l640 [^] | |||||||||||
Steps To Reproduce | I have not been able to reproduce it, the problem has been deduced based on production logs. The sequence of events was the following: - There is a problem with a stock webservice, and the StockConnectionHelper inits a transition to offline (store server status is updated to TOF) - The offline checks are executed [1] - They all pass, so a transition to online is invoked [2] (status is still TOF) - The transition to online process checks if it can init the transition [3] - It can't init the transition because there is data pending to be synchronized from the central to the store server, so the transition is cancelled [4] but the status is not updated, so it will remain TOF, and the store will not be able to operate [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/3c1bc36f021e/src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java#l98 [^] [2] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/3c1bc36f021e/src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java#l120 [^] [3] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/3c1bc36f021e/src/org/openbravo/mobile/core/servercontroller/MobileServerController.java#l628 [^] [4] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/3c1bc36f021e/src/org/openbravo/mobile/core/servercontroller/MobileServerController.java#l629 [^] | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-08-24 14:45 | AugustoMauch | New Issue | ||||||||||
2018-08-24 14:45 | AugustoMauch | Assigned To | => AugustoMauch | |||||||||
2018-08-24 14:45 | AugustoMauch | OBNetwork customer | => No | |||||||||
2018-08-24 14:45 | AugustoMauch | Triggers an Emergency Pack | => No | |||||||||
2018-08-24 14:48 | hgbot | Checkin | ||||||||||
2018-08-24 14:48 | hgbot | Note Added: 0106478 | ||||||||||
2018-08-24 14:48 | hgbot | Status | new => resolved | |||||||||
2018-08-24 14:48 | hgbot | Resolution | open => fixed | |||||||||
2018-08-24 14:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cf49abe279718596c23450662a00217afb370224 [^] | |||||||||
2018-08-24 14:48 | AugustoMauch | Review Assigned To | => mtaal | |||||||||
2018-08-25 00:41 | mtaal | Note Added: 0106481 | ||||||||||
2018-08-25 00:41 | mtaal | Status | resolved => closed | |||||||||
2018-08-29 10:51 | AugustoMauch | Relationship added | related to 0039195 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|