Skip to content

Commit c999ff3

Browse files
committed
Fixed bug with properties set at design time being overwritten with null
1 parent 8e29279 commit c999ff3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Src/SetProperty/SetProperty.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
5858

5959
public void Load(IPropertyBag propertyBag, int errorLog)
6060
{
61-
PropertyPath = PropertyBagHelper.ReadPropertyBag<string>(propertyBag, PropertyPathPropertyName);
62-
Value = PropertyBagHelper.ReadPropertyBag<string>(propertyBag, ValuePropertyName);
63-
PromoteProperty = PropertyBagHelper.ReadPropertyBag<bool>(propertyBag, PromoteProperytName);
61+
PropertyPath = PropertyBagHelper.ReadPropertyBag(propertyBag, PropertyPathPropertyName, PropertyPath);
62+
Value = PropertyBagHelper.ReadPropertyBag(propertyBag, ValuePropertyName, Value);
63+
PromoteProperty = PropertyBagHelper.ReadPropertyBag(propertyBag, PromoteProperytName,PromoteProperty);
6464
}
6565

6666
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties)

0 commit comments

Comments
 (0)