Permalink
Browse files

0001118: Allow the sync.url to be blank. Past versions of SymmetricDS…

… allowed this and defaulted to using the registration.url
  • Loading branch information...
chenson42 committed Mar 18, 2013
1 parent f281e17 commit 44b53ad72b389006c1aa965eccebf74c0ac2ce85
@@ -260,8 +260,8 @@ public void loadDataFromPull(Node remote, RemoteNodeStatus status) throws IOExce
}
} catch (RegistrationRequiredException e) {
if (remote.getSyncUrl().equals(parameterService.getRegistrationUrl())) {
log.warn("Registration was lost. Attempting to re-register.");
if (StringUtils.isBlank(remote.getSyncUrl()) || remote.getSyncUrl().equals(parameterService.getRegistrationUrl())) {
log.warn("Node information missing on the server. Attempting to re-register");
loadDataFromPull(null, status);
nodeService.findIdentity(false);
} else {

0 comments on commit 44b53ad

Please sign in to comment.