Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035932 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | minor | have not tried | 2017-05-04 17:59 | 2017-05-18 10:39 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | edbd09a8ee8e | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | mtaal | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035932: The same routing logic should be applied in OBMOBC_SERVER_DEFINITION for inserts, updates, deletions | |||||||
Description | Right now the OBMOBC_SERVER_DEFINITION is routed like this: - Inserts and deletions are synchronized to all stores - Updates are synchronized: * To all stores if the record being updated is the central server * Only to the modified store server if the record being updated is a store server This was done like this because it was not clear if all stores servers should be present in all stores, but now it is clear that this is not needed. | |||||||
Steps To Reproduce | In a multiserver environment: - Create a new store server in the Mobile Server window. Check that the record is synchronized to all online stores - Update the store server created in the previous step. Check that the record is not updated in the stores. With the new proposed behaviour, the new store server should not be created in the other stores | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0096400) hgbot (developer) 2017-05-04 18:16 |
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization Changeset: edbd09a8ee8e93db2941c0e9a207f723fcde0780 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Thu May 04 18:09:55 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/edbd09a8ee8e93db2941c0e9a207f723fcde0780 [^] Fixes issue 35932: Improves MobileServerRouter The MobileServerRouter now will synchronize the changes done on the obmobc_server_definition table on store server records to the store server record being modified. Before this changeset, insertions and deletions done on that table were synchronized to all store servers, and updates were synchronized only to the store server being modified. Now all three operations behave like the updates. --- M src/org/openbravo/retail/storeserver/synchronization/router/MobileServerRouter.java --- |
(0096437) mtaal (manager) 2017-05-07 21:42 |
If this approach is taken then also the store server creation dataset needs to be adapted. Although it can get difficult with the related tables and such to define correct queries. |
(0096657) hgbot (developer) 2017-05-18 10:39 |
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization Changeset: 15685c62a458242938ca485897944f739ad539b8 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Thu May 18 10:39:10 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/15685c62a458242938ca485897944f739ad539b8 [^] Related to issue 35932: Improves MobileServerRouter Backed out changeset edbd09a8ee8e In hinsight current behavior is better as the server definition is used by BP to signal default store --- M src/org/openbravo/retail/storeserver/synchronization/router/MobileServerRouter.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2017-05-04 17:59 | AugustoMauch | New Issue | |
2017-05-04 17:59 | AugustoMauch | Assigned To | => AugustoMauch |
2017-05-04 17:59 | AugustoMauch | Triggers an Emergency Pack | => No |
2017-05-04 18:16 | hgbot | Checkin | |
2017-05-04 18:16 | hgbot | Note Added: 0096400 | |
2017-05-04 18:16 | hgbot | Status | new => resolved |
2017-05-04 18:16 | hgbot | Resolution | open => fixed |
2017-05-04 18:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/edbd09a8ee8e93db2941c0e9a207f723fcde0780 [^] |
2017-05-07 21:29 | mtaal | Review Assigned To | => mtaal |
2017-05-07 21:42 | mtaal | Note Added: 0096437 | |
2017-05-07 21:42 | mtaal | Status | resolved => new |
2017-05-07 21:42 | mtaal | Resolution | fixed => open |
2017-05-08 11:52 | mtaal | Assigned To | AugustoMauch => mtaal |
2017-05-18 10:39 | hgbot | Checkin | |
2017-05-18 10:39 | hgbot | Note Added: 0096657 | |
2017-05-18 10:39 | mtaal | Status | new => closed |
2017-05-18 10:39 | mtaal | Resolution | open => no change required |
Copyright © 2000 - 2009 MantisBT Group |