Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039759Retail ModulesStoreServerpublic2018-12-04 15:422018-12-10 16:17
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
 
AugustoMauch
No
0039759: Prevent routing of OBMOBC_TerminalLog import entries
Prevent routing of the OBMOBC_TerminalLog entries by changing the ImportEntryRouter.
Run latest code of retail in multi-server env
Prevent the routing in the ImportEntryRouter [1]. Make the change so that it works also if the terminal log is not yet implemented/delivered to a customer

https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/tip/src/org/openbravo/retail/storeserver/synchronization/router/ImportEntryRouter.java [^]
No tags attached.
Issue History
2018-12-04 15:42mtaalNew Issue
2018-12-04 15:42mtaalAssigned To => mtaal
2018-12-04 15:42mtaalTriggers an Emergency Pack => No
2018-12-04 20:26hgbotCheckin
2018-12-04 20:26hgbotNote Added: 0108257
2018-12-04 20:26hgbotStatusnew => resolved
2018-12-04 20:26hgbotResolutionopen => fixed
2018-12-04 20:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/70fd66758f1250747860f0ff0b56afa5cd05ccc3 [^]
2018-12-09 22:06mtaalReview Assigned To => AugustoMauch
2018-12-10 10:13AugustoMauchNote Added: 0108356
2018-12-10 10:13AugustoMauchStatusresolved => new
2018-12-10 10:13AugustoMauchResolutionfixed => open
2018-12-10 12:36hgbotCheckin
2018-12-10 12:36hgbotNote Added: 0108358
2018-12-10 12:36hgbotStatusnew => resolved
2018-12-10 12:36hgbotResolutionopen => fixed
2018-12-10 12:36hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/70fd66758f1250747860f0ff0b56afa5cd05ccc3 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/1d6a9063e6c388a8b278f58207176cd73dc92b95 [^]
2018-12-10 12:36hgbotCheckin
2018-12-10 12:36hgbotNote Added: 0108359
2018-12-10 16:17AugustoMauchNote Added: 0108367
2018-12-10 16:17AugustoMauchStatusresolved => closed

Notes
(0108257)
hgbot   
2018-12-04 20:26   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 70fd66758f1250747860f0ff0b56afa5cd05ccc3
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Dec 04 20:25:59 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/70fd66758f1250747860f0ff0b56afa5cd05ccc3 [^]

Fixes issue 39759: Prevent routing of OBMOBC_TerminalLog import entries
Do not route the log records

---
M src/org/openbravo/retail/storeserver/synchronization/router/ImportEntryRouter.java
---
(0108356)
AugustoMauch   
2018-12-10 10:13   
Although the fix works, ImportEntryRouter already provides a mechanism to prevent import entries from being routed to the store servers. This is done by checking the em_obstsyn_cur_server_only property.

It is better to set this property on an event handler than to add it redundantly to ImportEntryRouter.
(0108358)
hgbot   
2018-12-10 12:36   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 1d6a9063e6c388a8b278f58207176cd73dc92b95
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Dec 10 12:26:12 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/1d6a9063e6c388a8b278f58207176cd73dc92b95 [^]

Fixes issue 39759: Prevent routing of OBMOBC_TerminalLog import entries
Use the correct way to prevent syncing of import entry

---
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/RetailImportEntryNoSyncEventHandler.java
---
(0108359)
hgbot   
2018-12-10 12:36   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 440dbdfb025a7d764001077dfc289e31a71fdb3a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Dec 10 12:26:24 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/440dbdfb025a7d764001077dfc289e31a71fdb3a [^]

Related to issue 39759: Prevent routing of OBMOBC_TerminalLog import entries
Backed out changeset 70fd66758f12

---
M src/org/openbravo/retail/storeserver/synchronization/router/ImportEntryRouter.java
---
(0108367)
AugustoMauch   
2018-12-10 16:17   
Code reviewed and verified