Skip to content

Commit 7a02aaf

Browse files
committed
adding missing null check when transferring empty property editor.
1 parent 7c94a44 commit 7a02aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Deploy.Contrib.Connectors/ValueConnectors/NestedContentValueConnector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public string ToArtifact(object value, PropertyType propertyType, ICollection<Ar
108108
_logger.Debug<NestedContentValueConnector>("Map " + key + " value '" + row.PropertyValues[key] + "' to '" + parsedValue
109109
+ "' using " + propValueConnector.GetType() + " for " + propType);
110110

111-
parsedValue = parsedValue.ToString();
111+
parsedValue = parsedValue?.ToString();
112112

113113
row.PropertyValues[key] = parsedValue;
114114
}

0 commit comments

Comments
 (0)