Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035237 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] StoreServer | minor | have not tried | 2017-02-13 11:57 | 2017-02-21 09:47 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | acb8927c0282 | ||||
Projection | none | ETA | none | Target Version | RR17Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | AugustoMauch | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035237: Data replication: only export/sync Terminal Access records of the same org as their terminal to a store | |||||||
Description | A common mistake is to create terminal access records in the * org while they refer to a terminal defined in the store. This should be prevented and a terminal access record should only be created in its store. | |||||||
Steps To Reproduce | Create a terminal access record in * refering to a terminal in a store. See that it gets replicated to a different store, which fails as the terminal is not necessarily present there. | |||||||
Proposed Solution | Only export terminal access records in the same org as the terminal Only sync terminal access records in the same org as the terminal | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0094272) hgbot (developer) 2017-02-13 14:43 |
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization Changeset: acb8927c0282bdb33fe484a5416829e69a829689 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Mon Feb 13 14:43:10 2017 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/acb8927c0282bdb33fe484a5416829e69a829689 [^] Fixes issue 35237: Data replication: only export/sync Terminal Access records of the same org as their terminal to a store Updated the storeserver data set, added a new router and update synchronized table to use this router. Also added an eventhandler and message to prevent the user from creating wrong records. --- M src-db/database/sourcedata/AD_DATASET_TABLE.xml M src-db/database/sourcedata/AD_MESSAGE.xml M src-db/database/sourcedata/STRSYNC_CUSTOM_ROUTER.xml M src-db/database/sourcedata/STRSYNC_SYNCHRONIZEDTABLE.xml A src/org/openbravo/retail/storeserver/synchronization/eventhandler/TerminalAccessEventHandler.java A src/org/openbravo/retail/storeserver/synchronization/router/UserTerminalAccessRouter.java --- |
(0094502) AugustoMauch (manager) 2017-02-21 09:47 |
Code reviewed and verified |
Issue History | |||
Date Modified | Username | Field | Change |
2017-02-13 11:57 | mtaal | New Issue | |
2017-02-13 11:57 | mtaal | Assigned To | => mtaal |
2017-02-13 11:57 | mtaal | Triggers an Emergency Pack | => No |
2017-02-13 14:43 | hgbot | Checkin | |
2017-02-13 14:43 | hgbot | Note Added: 0094272 | |
2017-02-13 14:43 | hgbot | Status | new => resolved |
2017-02-13 14:43 | hgbot | Resolution | open => fixed |
2017-02-13 14:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/acb8927c0282bdb33fe484a5416829e69a829689 [^] |
2017-02-13 15:58 | mtaal | Review Assigned To | => AugustoMauch |
2017-02-21 09:47 | AugustoMauch | Note Added: 0094502 | |
2017-02-21 09:47 | AugustoMauch | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |