Fix rule chain comparing on import
This commit is contained in:
parent
db43c39c54
commit
64a82991b5
@ -41,8 +41,6 @@ public abstract class BaseEntityExportService<I extends EntityId, E extends Expo
|
||||
return (D) new EntityExportData<E>();
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
public abstract Set<EntityType> getSupportedEntityTypes();
|
||||
|
||||
protected void replaceUuidsRecursively(EntitiesExportCtx<?> ctx, JsonNode node, Set<String> skipFieldsSet) {
|
||||
|
||||
@ -119,7 +119,7 @@ public class RuleChainImportService extends BaseEntityImportService<RuleChainId,
|
||||
RuleChainMetaData newMD = exportData.getMetaData();
|
||||
RuleChainMetaData existingMD = ruleChainService.loadRuleChainMetaData(ctx.getTenantId(), prepared.getId());
|
||||
existingMD.setRuleChainId(null);
|
||||
different = newMD.equals(existingMD);
|
||||
different = !newMD.equals(existingMD);
|
||||
}
|
||||
return different;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user