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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038127
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] StoreServermajorhave not tried2018-03-13 19:552018-03-27 15:32
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionae17eaae44bd
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

0038127: Storeserver allow going online even if there are pending data to sync from CS to SS

DescriptionThe current logic [1] prevents the store from going online if CS has pending data to sync to the store.

This is too restrictive with the new approach (see related issue) we can go online eventhough there is data to sync.

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/tip/src/org/openbravo/retail/storeserver/synchronization/SyncStatusOnlineTransitionHandler.java#l83 [^]

[2]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/tip/src/org/openbravo/retail/storeserver/synchronization/RetrieveSyncStatus.java [^]
Steps To ReproduceRun multi-server
Stop SS
Change data in CS
Stop CS
Start SS
Start CS

Check if/how SS goes online if there is data to sync.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0038036 closedmtaal SS in online mode always forward all requests to the CS 

-  Notes
(0103260)
hgbot (developer)
2018-03-14 23:56

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: ae17eaae44bd67b8f98d6eb622e07e86eedb8ee4
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Mar 14 23:56:32 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/ae17eaae44bd67b8f98d6eb622e07e86eedb8ee4 [^]

Fixes issue 38127: Storeserver allow going online even if there are pending data to sync from CS to SS
Only use import entry count on CS to determine online decision

---
M src/org/openbravo/retail/storeserver/synchronization/RetrieveSyncStatus.java
M src/org/openbravo/retail/storeserver/synchronization/SyncStatusOnlineTransitionHandler.java
---
(0103566)
AugustoMauch (manager)
2018-03-27 15:32

Code reviewed and verified

- Issue History
Date Modified Username Field Change
2018-03-13 19:55 mtaal New Issue
2018-03-13 19:55 mtaal Assigned To => mtaal
2018-03-13 19:55 mtaal Triggers an Emergency Pack => No
2018-03-13 19:55 mtaal Relationship added related to 0038036
2018-03-14 10:06 rafademiguel Issue Monitored: rafademiguel
2018-03-14 23:56 mtaal Review Assigned To => AugustoMauch
2018-03-14 23:56 hgbot Checkin
2018-03-14 23:56 hgbot Note Added: 0103260
2018-03-14 23:56 hgbot Status new => resolved
2018-03-14 23:56 hgbot Resolution open => fixed
2018-03-14 23:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/ae17eaae44bd67b8f98d6eb622e07e86eedb8ee4 [^]
2018-03-27 15:32 AugustoMauch Note Added: 0103566
2018-03-27 15:32 AugustoMauch Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker