From 344d3dcb5b421c0fa056442b438bbddf67da90d2 Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Thu, 22 May 2025 15:28:14 +0200 Subject: [PATCH] The new backend requires a value to be set --- Duplicati/Library/Main/Database/ExtensionMethods.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/Main/Database/ExtensionMethods.cs b/Duplicati/Library/Main/Database/ExtensionMethods.cs index 4a6fdbdc1..5b9dd5dde 100644 --- a/Duplicati/Library/Main/Database/ExtensionMethods.cs +++ b/Duplicati/Library/Main/Database/ExtensionMethods.cs @@ -341,7 +341,7 @@ public static partial class ExtensionMethods if (value is not null && value is System.Collections.IEnumerable && value is not string) throw new ArgumentException($"Cannot set parameter '{name}' to an array or enumerable type, as the SQLite bindings does not support it.", nameof(value)); #endif - self.Parameters[name].Value = value; + self.Parameters[name].Value = value ?? DBNull.Value; return self; }