diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-02-05 14:38:46 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-02-05 14:43:36 -0800 |
| commit | a91661efa6d4c678d8ddee458bbf4b8643f96377 (patch) | |
| tree | e3908095f984b1b8ef7c910e842391b1ec3d1862 /src | |
| parent | df8f367c7bc515be7f5652338f1e64e6a9e6acd8 (diff) | |
| download | wix-a91661efa6d4c678d8ddee458bbf4b8643f96377.tar.gz wix-a91661efa6d4c678d8ddee458bbf4b8643f96377.tar.bz2 wix-a91661efa6d4c678d8ddee458bbf4b8643f96377.zip | |
Ensure path tuples fields with BaseUri are saved
Diffstat (limited to 'src')
| -rw-r--r-- | src/WixToolset.Data/IntermediateTupleExtensions.cs | 2 |
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 | } |
