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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040877
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajorhave not tried2019-05-14 19:152019-05-20 18:35
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionc2ac32ae317c
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

0040877: When starting a store server check if it is registered, if not then stop it

DescriptionWhen starting a store server the system should check that it is registered in the central server.

If not then the store server should not be allowed to start, it should be stopped right away.
Steps To Reproducecreate store server
unregister a store in cs
start the store server
it will go offline or start in offline
notice that webpos works on the ss and no data gets synced
Proposed SolutionDo a webservice call from ss to cs when the ss starts to check if registered. If the ws call fails for other reasons then just ignore it. This check is only assumed to work in case cs is reachable.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0111713)
hgbot (developer)
2019-05-16 11:02

Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: c2ac32ae317c6697ae3dd5bb9c4fdbaf407765fb
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu May 16 11:01:58 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/c2ac32ae317c6697ae3dd5bb9c4fdbaf407765fb [^]

Fixes issue 40877: When starting a store server check if it is registered, if not then stop it
Do request to cs to check registered state. Also do not start the ss if there are other
sym-ds exceptions.

---
M src/org/openbravo/replication/symmetricds/SetupSymmetricListener.java
M src/org/openbravo/replication/symmetricds/util/ReplicationUtils.java
A src/org/openbravo/replication/symmetricds/StoreServerRegisteredService.java
---
(0111937)
AugustoMauch (manager)
2019-05-20 18:35

Code reviewed and verified

- Issue History
Date Modified Username Field Change
2019-05-14 19:15 mtaal New Issue
2019-05-14 19:15 mtaal Assigned To => mtaal
2019-05-14 19:15 mtaal Triggers an Emergency Pack => No
2019-05-16 11:01 mtaal Review Assigned To => AugustoMauch
2019-05-16 11:02 hgbot Checkin
2019-05-16 11:02 hgbot Note Added: 0111713
2019-05-16 11:02 hgbot Status new => resolved
2019-05-16 11:02 hgbot Resolution open => fixed
2019-05-16 11:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/c2ac32ae317c6697ae3dd5bb9c4fdbaf407765fb [^]
2019-05-20 18:35 AugustoMauch Note Added: 0111937
2019-05-20 18:35 AugustoMauch Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker