From 559b7c760c31b81c5af0e2e97b0750725563d164 Mon Sep 17 00:00:00 2001 From: Dmitriy Benyuk Date: Wed, 26 Feb 2025 11:04:19 +0200 Subject: [PATCH] Conditional 'OR' is not honored --- ...namicweb.DataIntegration.Providers.XmlProvider.csproj | 2 +- src/XMLSourceReader.cs | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Dynamicweb.DataIntegration.Providers.XmlProvider.csproj b/src/Dynamicweb.DataIntegration.Providers.XmlProvider.csproj index 1756518..9a64bb8 100644 --- a/src/Dynamicweb.DataIntegration.Providers.XmlProvider.csproj +++ b/src/Dynamicweb.DataIntegration.Providers.XmlProvider.csproj @@ -1,6 +1,6 @@  - 10.6.3 + 10.6.4 1.0.0.0 XML Provider XML Provider diff --git a/src/XMLSourceReader.cs b/src/XMLSourceReader.cs index 0287b19..ab19bc9 100644 --- a/src/XMLSourceReader.cs +++ b/src/XMLSourceReader.cs @@ -64,14 +64,7 @@ public bool IsDone() private bool RowMatchesConditions() { - foreach (MappingConditional conditional in _mapping.Conditionals) - { - if (!_provider.CheckCondition(conditional, _nextRow)) - { - return false; - } - } - return true; + return _mapping.Conditionals?.CheckConditionals(_nextRow) ?? true; } public Dictionary GetNext()