Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032899 | Retail Modules | Web POS | public | 2016-05-07 14:33 | 2016-05-16 16:43 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR16Q3 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0032899: Provide a base class which implements default offline and online behavior in multi-server environments |
Description | The feature request is to implement a base class which can be extended to provide correct handling of process requests in multi-server environments where these environments need to be updated/synced on transaction level.
|
Steps To Reproduce | See above |
Proposed Solution | Provide a base class which processes a request and returns the result and in parallel creates the import entry to replicate back to the central server.
This base class should work correctly also in case that the webpos directly calls the central server. In that case it should replicate back to the store server.
|
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | feature request | 0031655 | | closed | mtaal | WebPOS Synchronous transactions |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-05-07 14:33 | mtaal | New Issue | |
2016-05-07 14:33 | mtaal | Assigned To | => mtaal |
2016-05-07 14:33 | mtaal | Triggers an Emergency Pack | => No |
2016-05-09 06:19 | mtaal | Review Assigned To | => migueldejuana |
2016-05-09 06:19 | mtaal | Note Added: 0086293 | |
2016-05-09 06:19 | mtaal | Summary | Provide an base class which implements default offline and online behavior in multi-server environments => Provide a base class which implements default offline and online behavior in multi-server environments |
2016-05-09 06:32 | mtaal | Relationship added | blocks 0031655 |
2016-05-09 08:40 | hgbot | Checkin | |
2016-05-09 08:40 | hgbot | Note Added: 0086297 | |
2016-05-09 08:40 | hgbot | Status | new => resolved |
2016-05-09 08:40 | hgbot | Resolution | open => fixed |
2016-05-09 08:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/24050dd79e4d13b4be669928a0d5f94307a03732 [^] |
2016-05-14 10:43 | mtaal | Note Added: 0086448 | |
2016-05-14 10:43 | mtaal | Status | resolved => new |
2016-05-14 10:43 | mtaal | Resolution | fixed => open |
2016-05-16 00:55 | hgbot | Checkin | |
2016-05-16 00:55 | hgbot | Note Added: 0086452 | |
2016-05-16 00:55 | hgbot | Status | new => resolved |
2016-05-16 00:55 | hgbot | Resolution | open => fixed |
2016-05-16 00:55 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/24050dd79e4d13b4be669928a0d5f94307a03732 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fb8219f1777e3a984f13784008505bda1de667f3 [^] |
2016-05-16 16:43 | migueldejuana | Note Added: 0086472 | |
2016-05-16 16:43 | migueldejuana | Status | resolved => closed |
Notes |
|
(0086293)
|
mtaal
|
2016-05-09 06:19
|
|
|
|
(0086297)
|
hgbot
|
2016-05-09 08:40
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 24050dd79e4d13b4be669928a0d5f94307a03732
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon May 09 08:39:25 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/24050dd79e4d13b4be669928a0d5f94307a03732 [^]
Fixes issue 32899: Provide a base class which implements default offline and online behavior in multi-server environments
Provide base class with advanced multi-server logic to handle different cases, make it possible to run JSONProcessSimple for import entry processing class.
Some utility methods will also be used by related issue for synchronized transactions.
DataSynchronizationProcess.java: move code to super class
JSONProcessSimple.java: add methods from subclass so it can be used by import entry runnable
MobileImportEntryProcessorRunnable.java: make it possible to use JSONProcessSimple as processing class, remain backward compatible
MobileServerController.java: add defensive coding checks, added util methods
MobileServerUtils.java: added util methods, will be used also in subsequent issues
MultiServerDataSynchronizationProcess.java: main code for resolving the issue, new class
OBMOBCUtils.java: added utility method
---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
M src/org/openbravo/mobile/core/process/JSONProcessSimple.java
M src/org/openbravo/mobile/core/process/MobileImportEntryProcessorRunnable.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerUtils.java
M src/org/openbravo/mobile/core/utils/OBMOBCUtils.java
A src/org/openbravo/mobile/core/servercontroller/MultiServerDataSynchronizationProcess.java
---
|
|
|
(0086448)
|
mtaal
|
2016-05-14 10:43
|
|
Will push/add additional changes to it. |
|
|
(0086452)
|
hgbot
|
2016-05-16 00:55
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: fb8219f1777e3a984f13784008505bda1de667f3
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun May 15 09:31:57 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fb8219f1777e3a984f13784008505bda1de667f3 [^]
Fixes issue 32899: Provide a base class which implements default offline and online behavior in multi-server environments
Extend base class to allow only executing on central and make it possible to change organization for created import entry
DataSynchronizationProcess.java: updated copyright
SecuredJSONProcess.java: throw better json exception by reading underlying db exception, handle if not called from request
MultiServerDataSynchronizationProcess.java: renamed to MultiServerJSONProcess
---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
M src/org/openbravo/mobile/core/process/SecuredJSONProcess.java
A src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java
R src/org/openbravo/mobile/core/servercontroller/MultiServerDataSynchronizationProcess.java
---
|
|
|
|
|