Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034630Retail ModulesStoreServerpublic2016-11-25 09:192017-03-30 13:21
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
 
AugustoMauch
No
0034630: Enhance synchronized mode to work blocking for the user but still process through import entry
The current synchronized mode does 2 things:
- block the UI
- directly (in the user flow) process the record

This is fine but in special cases it can make sense to do processing offline/asynchronous.

The request is therefore to support a synchronized mode which is blocking for user but uses the import entry approach to get transactions at least into the queue.
See description
Add a preference to control the requested behavior. The change can be done in the server side processing within the MultiServerJSONProcess.
No tags attached.
related to design defect 0035644RR17Q2 closed mtaal Synchronized json request stored in import entry should never be synced to other server 
Issue History
2016-11-25 09:19mtaalNew Issue
2016-11-25 09:19mtaalAssigned To => mtaal
2016-11-25 09:19mtaalTriggers an Emergency Pack => No
2016-12-02 20:32hgbotCheckin
2016-12-02 20:32hgbotNote Added: 0092052
2016-12-29 11:50mtaalTarget VersionRR17Q1 => RR17Q2
2017-03-09 10:31mtaalTarget VersionRR17Q2 =>
2017-03-29 17:54mtaalReview Assigned To => AugustoMauch
2017-03-29 17:55mtaalNote Added: 0095669
2017-03-29 17:55hgbotCheckin
2017-03-29 17:55hgbotNote Added: 0095670
2017-03-29 17:55hgbotStatusnew => resolved
2017-03-29 17:55hgbotResolutionopen => fixed
2017-03-29 17:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/7ce28d6d8e9a9a1d5ca5cd7b8e30f89a1abc8fc1 [^]
2017-03-29 17:55mtaalRelationship addedrelated to 0035644
2017-03-30 13:21AugustoMauchNote Added: 0095707
2017-03-30 13:21AugustoMauchStatusresolved => closed

Notes
(0092052)
hgbot   
2016-12-02 20:32   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: a3b9a966722c4fbe0e4c6e9d03c2dd60c7dd1ac3
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Dec 02 20:29:30 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/a3b9a966722c4fbe0e4c6e9d03c2dd60c7dd1ac3 [^]

Related to issue 34630: Enhance synchronized mode to work blocking for the user but still process through import entry
Prevent Synchronized Process Caller json from being replicated to the other server when used in non-blocking mode.

---
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/RetailImportEntryNoSyncEventHandler.java
---
(0095669)
mtaal   
2017-03-29 17:55   
The preference/logic is not needed anymore. The integration/functional team will implement a database check so that people at a specific customer can not accidentally disable synchronized mode.

The change will be backed out and recommitted in a different issue.
(0095670)
hgbot   
2017-03-29 17:55   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 7ce28d6d8e9a9a1d5ca5cd7b8e30f89a1abc8fc1
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Mar 29 17:55:35 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/7ce28d6d8e9a9a1d5ca5cd7b8e30f89a1abc8fc1 [^]

Fixes issue 34630: Enhance synchronized mode to work blocking for the user but still process through import entry
Backout of changeset, the issue will be solved in a different way.

---
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/RetailImportEntryNoSyncEventHandler.java
---
(0095707)
AugustoMauch   
2017-03-30 13:21   
Back out verified