Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034156
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] StoreServerminorhave not tried2016-10-03 10:162016-11-12 17:21
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6452b4f43761
ProjectionnoneETAnoneTarget VersionRR17Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned ToAugustoMauch
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034156: Support an additional Multi-Server approach: first try central, if fails then store, but always max one server

DescriptionThe 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 ReproduceCheck the MultiServerJsonProcess logic
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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

- Issue History
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
Powered by Mantis Bugtracker