Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034156 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] StoreServer | minor | have not tried | 2016-10-03 10:16 | 2016-11-12 17:21 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 6452b4f43761 | ||||
Projection | none | ETA | none | Target Version | RR17Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | 0034156: Support an additional Multi-Server approach: first try central, if fails then store, but always max one server | |||||||
Description | The logic needs to guarantee that the action is executed max once on a server, with first trying central. So a combination of _tryCentralFromStore and _executeInOneServer. See the MultiServerJsonProcess [1] [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/8e0dbeeca70d/src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java#l353 [^] | |||||||
Steps To Reproduce | Check the MultiServerJsonProcess logic | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0090657) hgbot (developer) 2016-10-18 08:45 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 6452b4f43761ac56ad94961087541fcb2c6adffa Author: Martin Taal <martin.taal <at> openbravo.com> Date: Tue Oct 18 08:44:39 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6452b4f43761ac56ad94961087541fcb2c6adffa [^] Fixes issue 34156: Support an additional Multi-Server approach: first try central, if fails then store, but always max one server Updated documentation and in case of exception when calling central first then handle it more gracefully if we are already transitioning to offline. The original requirement of the mantis issue is already covered by existing code. This commit solves one corner case found and updates the documentation. --- M src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java --- |
(0090874) AugustoMauch (administrator) 2016-10-25 16:04 |
Add documentation about how to use _executeInOneServer, at least here [1] and here [2] [1] http://wiki.openbravo.com/wiki/Multi-Server_Process_Calls_Concept [^] [2] http://wiki.openbravo.com/wiki/How_to_implement_Multi-Server_Process_Calls [^] |
(0091271) mtaal (viewer) 2016-11-09 12:23 |
Updated/added docs: http://wiki.openbravo.com/wiki/Multi-Server_Process_Calls_Concept#Store_Server_Only [^] http://wiki.openbravo.com/wiki/How_to_implement_Multi-Server_Process_Calls#Relevant_json_properties [^] |
(0091412) AugustoMauch (administrator) 2016-11-12 17:21 |
Code reviewed and verified |
![]() |
|||
Date Modified | Username | Field | Change |
2016-10-03 10:16 | mtaal | New Issue | |
2016-10-03 10:16 | mtaal | Assigned To | => mtaal |
2016-10-03 10:16 | mtaal | OBNetwork customer | => No |
2016-10-03 10:16 | mtaal | Triggers an Emergency Pack | => No |
2016-10-05 17:16 | eduardo_Argal | Issue Monitored: eduardo_Argal | |
2016-10-18 08:45 | hgbot | Checkin | |
2016-10-18 08:45 | hgbot | Note Added: 0090657 | |
2016-10-18 08:45 | hgbot | Status | new => resolved |
2016-10-18 08:45 | hgbot | Resolution | open => fixed |
2016-10-18 08:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6452b4f43761ac56ad94961087541fcb2c6adffa [^] |
2016-10-22 15:55 | mtaal | Review Assigned To | => AugustoMauch |
2016-10-25 16:04 | AugustoMauch | Note Added: 0090874 | |
2016-11-07 11:58 | mtaal | Status | resolved => new |
2016-11-07 11:58 | mtaal | Resolution | fixed => open |
2016-11-09 12:23 | mtaal | Status | new => scheduled |
2016-11-09 12:23 | mtaal | Note Added: 0091271 | |
2016-11-09 12:23 | mtaal | Status | scheduled => resolved |
2016-11-09 12:23 | mtaal | Resolution | open => fixed |
2016-11-12 17:21 | AugustoMauch | Note Added: 0091412 | |
2016-11-12 17:21 | AugustoMauch | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |