diff --git a/src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyValueEditor.cs b/src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyValueEditor.cs index 466c456058b7..beda0418f271 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyValueEditor.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyValueEditor.cs @@ -154,6 +154,14 @@ public FileUploadPropertyValueEditor( return null; } + if (editorValue is string sourceString && sourceString.DetectIsJson() is false) + { + return new FileUploadValue() + { + Src = sourceString + }; + } + return _jsonSerializer.TryDeserialize(editorValue, out FileUploadValue? modelValue) ? modelValue : throw new ArgumentException($"Could not parse editor value to a {nameof(FileUploadValue)} object.");