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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040351
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] StoreServercriticalhave not tried2019-03-11 17:182019-03-14 15:44
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision248c27406324
ProjectionnoneETAnoneTarget Version
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

0040351: Allow syncing of batches from cs to ss also during TOF phase

DescriptionCurrently when there is data to be synced from central to then this is only allowed in either of the two cases:
- the store is in ON status, or
- for all other states, there is no data pending to sync from ss-->cs

This is to strict as also during TOF phase we should allow syncing from cs to ss. Otherwise a sync error can be created during TOF as we prevent syncing by throwing an exception.
Steps To ReproduceIt can be difficult to reproduce. The case which should be allowed is:
- store in TOF
- data pending to sync from ss-->cs
- data pending to sync from cs-->ss

The last should be allowed.
Proposed SolutionThe change is in this line [1], also allow replication from cs-->ss in all cases if state is TOF.

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/file/tip/src/org/openbravo/replication/symmetricds/extensions/OfflineIncomingSynchronizationPreventer.java#l71 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0110360)
hgbot (developer)
2019-03-11 20:58

Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: d1000b5536d1b4fb01da26f4d8bce3f6120baa2b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Mar 11 20:58:09 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/d1000b5536d1b4fb01da26f4d8bce3f6120baa2b [^]

Related to issue 40351: Allow syncing of batches from cs to ss also during TOF phase
Also allow syncing in TOF phase

---
M src/org/openbravo/replication/symmetricds/extensions/OfflineIncomingSynchronizationPreventer.java
---
(0110370)
hgbot (developer)
2019-03-12 08:54

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 248c2740632451d21322954920698423526272c1
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 12 08:53:32 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/248c2740632451d21322954920698423526272c1 [^]

Fixes issue 40351: Allow syncing of batches from cs to ss also during TOF phase
Repeat the allow-offline check also within the TOF phase

---
M src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java
---
(0110443)
AugustoMauch (manager)
2019-03-14 15:44

Code reviewed and verified

- Issue History
Date Modified Username Field Change
2019-03-11 17:18 mtaal New Issue
2019-03-11 17:18 mtaal Assigned To => mtaal
2019-03-11 17:18 mtaal Triggers an Emergency Pack => No
2019-03-11 20:58 hgbot Checkin
2019-03-11 20:58 hgbot Note Added: 0110360
2019-03-12 08:54 hgbot Checkin
2019-03-12 08:54 hgbot Note Added: 0110370
2019-03-12 08:54 hgbot Status new => resolved
2019-03-12 08:54 hgbot Resolution open => fixed
2019-03-12 08:54 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/248c2740632451d21322954920698423526272c1 [^]
2019-03-12 09:08 mtaal Review Assigned To => AugustoMauch
2019-03-14 15:44 AugustoMauch Note Added: 0110443
2019-03-14 15:44 AugustoMauch Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker