Skip to content

Commit

Permalink
0006223: Fixed imported configuration being deleted from sym_data
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Feb 5, 2024
1 parent 609ba7d commit 6ace631
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public boolean beforeBatchStarted(DataContext context) {
if (parameterService.is(ParameterConstants.DATA_LOADER_ENABLED)
|| (batch.getChannelId() != null && batch.getChannelId().equals(
Constants.CHANNEL_CONFIG))) {
if (batch.getBatchId() == Constants.VIRTUAL_BATCH_FOR_REGISTRATION) {
if (batch.getBatchId() == Constants.VIRTUAL_BATCH_FOR_REGISTRATION && batch.getSourceNodeId() != null) {
log.info("Preparing to receive registration from node {} by clearing its outgoing config batches", batch.getSourceNodeId());
IOutgoingBatchService outgoingBatchService = engine.getOutgoingBatchService();
IDataService dataService = engine.getDataService();
Expand Down

0 comments on commit 6ace631

Please sign in to comment.