Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0040219 | Retail Modules | StoreServer | public | 2019-02-15 12:07 | 2019-03-14 18:07 | |||||||
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 | |||||||||||
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 | 0040219: Simplify check on offline with sync errors or delta age, show delta age in mobile server | |||||||||||
Description | The current logic keeps track if when the store goes offline there are two cases: - incoming errors - age of the incoming batch is too old (expired) This is done with two flags in the mobile server definition [1]. But there is also the check when going offline that neither of the two cases is allowed [2]. So offline is prevented in this case. So logically the flags are never set to true as the store does not offline in these cases. Other change: would be good to show the delta age in the mobile server window. [1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/tip/src/org/openbravo/retail/storeserver/synchronization/eventhandler/MobileServerEventHandler.java#l100 [^] https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/tip/src/org/openbravo/retail/storeserver/synchronization/RetailSynchronizationRequestHandler.java#l124 [^] [2] https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/tip/src/org/openbravo/retail/storeserver/synchronization/StoreServerTransitionToOfflineExternalHandler.java#l40 [^] | |||||||||||
Steps To Reproduce | run multi-server create incoming error stop central store does not go offline and extra flags/checks are not needed | |||||||||||
Proposed Solution | Remove the code here remove the flags from the table https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/tip/src/org/openbravo/retail/storeserver/synchronization/eventhandler/MobileServerEventHandler.java#l100 [^] https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/tip/src/org/openbravo/retail/storeserver/synchronization/RetailSynchronizationRequestHandler.java#l124 [^] | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=12669&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=12670&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-02-15 12:07 | mtaal | New Issue | ||||||||||
2019-02-15 12:07 | mtaal | Assigned To | => mtaal | |||||||||
2019-02-15 12:07 | mtaal | OBNetwork customer | => No | |||||||||
2019-02-15 12:07 | mtaal | Triggers an Emergency Pack | => No | |||||||||
2019-02-18 18:12 | mtaal | File Added: 40219-mobile-core.diff | ||||||||||
2019-02-18 18:12 | mtaal | File Added: 40219-retail-sync.diff | ||||||||||
2019-02-18 18:31 | mtaal | Review Assigned To | => AugustoMauch | |||||||||
2019-03-04 15:21 | hgbot | Checkin | ||||||||||
2019-03-04 15:21 | hgbot | Note Added: 0110196 | ||||||||||
2019-03-04 15:25 | mtaal | Relationship added | blocks 0040287 | |||||||||
2019-03-04 15:32 | hgbot | Checkin | ||||||||||
2019-03-04 15:32 | hgbot | Note Added: 0110200 | ||||||||||
2019-03-04 15:32 | hgbot | Status | new => resolved | |||||||||
2019-03-04 15:32 | hgbot | Resolution | open => fixed | |||||||||
2019-03-04 15:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/4bee8fab73a2788d5649955574c368628d1a6245 [^] | |||||||||
2019-03-11 17:01 | AugustoMauch | Note Added: 0110356 | ||||||||||
2019-03-11 17:01 | AugustoMauch | Status | resolved => new | |||||||||
2019-03-11 17:01 | AugustoMauch | Resolution | fixed => open | |||||||||
2019-03-11 20:56 | hgbot | Checkin | ||||||||||
2019-03-11 20:56 | hgbot | Note Added: 0110359 | ||||||||||
2019-03-11 20:56 | hgbot | Status | new => resolved | |||||||||
2019-03-11 20:56 | hgbot | Resolution | open => fixed | |||||||||
2019-03-11 20:56 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/4bee8fab73a2788d5649955574c368628d1a6245 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/6852a2e09533deebb29983424bbf458ef01528f2 [^] | |||||||||
2019-03-14 18:07 | AugustoMauch | Note Added: 0110447 | ||||||||||
2019-03-14 18:07 | AugustoMauch | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|