Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033175Retail ModulesWeb POSpublic2016-06-07 17:592016-06-26 14:34
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR16Q3 
AugustoMauch
No
0033175: Store server state handling should not be controlled by separate preference, use multi-server pref
There are several preferences which control store server and multi-server behavior.
Currently there is a preference to enable multi-server and a separate preference to enable store server state handling.
This can be confusing for a user, the proposal is therefore to let it all be controller by one preference: the multi-server pref.

If one does not want state change logic then the option is to never check the trigger-state checkbox on a central server.
You need to configure both the multi-server as well as the store server controller preference to have full multi-server behavior.
Remove the store server controller preference, use the multi-server preference in all cases.
No tags attached.
Issue History
2016-06-07 17:59mtaalNew Issue
2016-06-07 17:59mtaalAssigned To => mtaal
2016-06-07 17:59mtaalTriggers an Emergency Pack => No
2016-06-08 23:12hgbotCheckin
2016-06-08 23:12hgbotNote Added: 0087106
2016-06-08 23:12hgbotStatusnew => resolved
2016-06-08 23:12hgbotResolutionopen => fixed
2016-06-08 23:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f3e8e57eb5e8f5d199fa0452eac0c66ec7d73af9 [^]
2016-06-10 15:43hgbotCheckin
2016-06-10 15:43hgbotNote Added: 0087172
2016-06-10 15:43hgbotCheckin
2016-06-10 15:43hgbotNote Added: 0087173
2016-06-20 16:21mtaalReview Assigned To => AugustoMauch
2016-06-24 14:58AugustoMauchNote Added: 0087909
2016-06-24 14:58AugustoMauchStatusresolved => closed
2016-06-26 14:34hgbotCheckin
2016-06-26 14:34hgbotNote Added: 0087926

Notes
(0087106)
hgbot   
2016-06-08 23:12   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f3e8e57eb5e8f5d199fa0452eac0c66ec7d73af9
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 08 23:10:46 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f3e8e57eb5e8f5d199fa0452eac0c66ec7d73af9 [^]

Fixes issue 33175: Store server state handling should not be controlled by separate preference, use multi-server pref
Set property list ref to inactive, replace usage of the preference with a check on multi-server enablement

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/mobile/core/process/JSONProcessSimple.java
M src/org/openbravo/mobile/core/process/ProcessHQLQuery.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerJSONProcess.java
---
(0087172)
hgbot   
2016-06-10 15:43   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 55c7bfb90d8d5e89a499b9feff639785c36c2a6e
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jun 10 15:39:41 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/55c7bfb90d8d5e89a499b9feff639785c36c2a6e [^]

Related to issue 33175: Store server state handling should not be controlled by separate preference, use multi-server pref
Add back method to be api-backward compatible

---
M src/org/openbravo/mobile/core/servercontroller/MobileServerUtils.java
---
(0087173)
hgbot   
2016-06-10 15:43   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a4007de8f930d2d573c544ee911b65d315d5d5af
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jun 10 15:40:51 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a4007de8f930d2d573c544ee911b65d315d5d5af [^]

Related to issue 33175: Store server state handling should not be controlled by separate preference, use multi-server pref
Updated javadoc of webservice state retrieving webservice

---
M src/org/openbravo/mobile/core/servercontroller/RetrieveMobileServerStatus.java
---
(0087909)
AugustoMauch   
2016-06-24 14:58   
Code reviewed and verified in [1]@c25bf7094080

[1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/ [^]
(0087926)
hgbot   
2016-06-26 14:34   
Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: 926ba13970e3cbc82319cf418433ee82b90327a6
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Jun 26 14:34:29 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/926ba13970e3cbc82319cf418433ee82b90327a6 [^]

Related to issue 33175: Store server state handling should not be controlled by separate preference, use multi-server pref
Updated comments

---
M src/org/openbravo/replication/symmetricds/eventhandler/MobileServerHandlerForIncomingBatchPreventer.java
---