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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035237
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] StoreServerminorhave not tried2017-02-13 11:572017-02-21 09:47
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionacb8927c0282
ProjectionnoneETAnoneTarget VersionRR17Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035237: Data replication: only export/sync Terminal Access records of the same org as their terminal to a store

DescriptionA 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 ReproduceCreate 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 SolutionOnly export terminal access records in the same org as the terminal
Only sync terminal access records in the same org as the terminal
TagsNo 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
Powered by Mantis Bugtracker