Ensure path tuples fields with BaseUri are saved
Rob Mensching committed
Feb 5, 2020 at 14:38 UTC
a91661efa6d4c678d8ddee458bbf4b8643f96377
1 file changed
+1
-1
src/WixToolset.Data/IntermediateTupleExtensions.cs
+1
-1
@@ -85,7 +85,7 @@ namespace WixToolset.Data
85
86
public static IntermediateField Set(this IntermediateTuple tuple, int index, IntermediateFieldPathValue value)
87
{
88
- if (value == null && NoFieldMetadata(tuple, index))
88
+ if (value?.Path == null && value?.BaseUri == null && NoFieldMetadata(tuple, index))
89
{
90
return tuple.Fields[index] = null;
91
}