Skip to content

Commit

Permalink
Decompile null Message column in Error table.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnson committed Feb 28, 2024
1 parent d1b711a commit b62127f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4506,7 +4506,7 @@ private void DecompileErrorTable(Table table)
{
var xError = new XElement(Names.ErrorElement,
new XAttribute("Id", row.FieldAsString(0)),
new XAttribute("Message", row.FieldAsString(1)));
row.IsColumnNull(1) ? null : new XAttribute("Message", row.FieldAsString(1)));

this.UIElement.Add(xError);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@
</UI>
<CustomAction Id="WixUIValidatePath" Return="ignore" BinaryRef="WixUIWixca" DllEntry="ValidatePath" />
<CustomAction Id="WixUIPrintEula" Return="ignore" BinaryRef="WixUIWixca" DllEntry="PrintEula" />
<Error Id="123" />
<Feature Id="ProductFeature" Title="ui" Level="1">
<ComponentRef Id="ProductComponent" />
</Feature>
Expand Down
Binary file not shown.

0 comments on commit b62127f

Please sign in to comment.