Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034944Retail ModulesStoreServerpublic2017-01-13 10:272017-01-30 08:56
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR17Q2 
AugustoMauch
No
0034944: In transition to online force route and push
Current in the transition to online logic we check if there are any records to push/replicate from store to central. If there are, transition to online is not done.

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/ae6c7c9c1a1b/src/org/openbravo/retail/storeserver/synchronization/SyncStatusOnlineTransitionHandler.java#l55 [^]

[2]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/ae6c7c9c1a1b/src/org/openbravo/retail/storeserver/synchronization/RetrieveSyncStatus.java [^]
Check code
Force route and push before doing transition to online check, or only if there are records to sync, somewhere in the code here [1].

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/ae6c7c9c1a1b/src/org/openbravo/retail/storeserver/synchronization/SyncStatusOnlineTransitionHandler.java#l55 [^]
No tags attached.
Issue History
2017-01-13 10:27mtaalNew Issue
2017-01-13 10:27mtaalAssigned To => mtaal
2017-01-13 10:27mtaalTriggers an Emergency Pack => No
2017-01-16 00:17hgbotCheckin
2017-01-16 00:17hgbotNote Added: 0093565
2017-01-16 00:17hgbotStatusnew => resolved
2017-01-16 00:17hgbotResolutionopen => fixed
2017-01-16 00:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/63abcbdc9a604142e7d8bd554112e07fcef3960e [^]
2017-01-16 00:18mtaalReview Assigned To => AugustoMauch
2017-01-30 08:56AugustoMauchNote Added: 0093912
2017-01-30 08:56AugustoMauchStatusresolved => closed

Notes
(0093565)
hgbot   
2017-01-16 00:17   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 63abcbdc9a604142e7d8bd554112e07fcef3960e
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jan 16 00:16:56 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/63abcbdc9a604142e7d8bd554112e07fcef3960e [^]

Fixes issue 34944: In transition to online force route and push
Do route/push both on caller and callee side

---
M src/org/openbravo/retail/storeserver/synchronization/RetrieveSyncStatus.java
M src/org/openbravo/retail/storeserver/synchronization/SyncStatusOnlineTransitionHandler.java
---
(0093912)
AugustoMauch   
2017-01-30 08:56   
Code reviewed and verified