aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2020-02-05 14:38:46 -0800
committerRob Mensching <rob@firegiant.com>2020-02-05 14:43:36 -0800
commita91661efa6d4c678d8ddee458bbf4b8643f96377 (patch)
treee3908095f984b1b8ef7c910e842391b1ec3d1862
parentdf8f367c7bc515be7f5652338f1e64e6a9e6acd8 (diff)
downloadwix-a91661efa6d4c678d8ddee458bbf4b8643f96377.tar.gz
wix-a91661efa6d4c678d8ddee458bbf4b8643f96377.tar.bz2
wix-a91661efa6d4c678d8ddee458bbf4b8643f96377.zip
Ensure path tuples fields with BaseUri are saved
-rw-r--r--src/WixToolset.Data/IntermediateTupleExtensions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Data/IntermediateTupleExtensions.cs b/src/WixToolset.Data/IntermediateTupleExtensions.cs
index 7fb2a6c3..95fb1b19 100644
--- a/src/WixToolset.Data/IntermediateTupleExtensions.cs
+++ b/src/WixToolset.Data/IntermediateTupleExtensions.cs
@@ -85,7 +85,7 @@ namespace WixToolset.Data
85 85
86 public static IntermediateField Set(this IntermediateTuple tuple, int index, IntermediateFieldPathValue value) 86 public static IntermediateField Set(this IntermediateTuple tuple, int index, IntermediateFieldPathValue value)
87 { 87 {
88 if (value == null && NoFieldMetadata(tuple, index)) 88 if (value?.Path == null && value?.BaseUri == null && NoFieldMetadata(tuple, index))
89 { 89 {
90 return tuple.Fields[index] = null; 90 return tuple.Fields[index] = null;
91 } 91 }