Skip to content

Commit f2bf5bf

Browse files
Fix error with deserialization of property data types that may contain null values (#1073)
1 parent 9b9b7d7 commit f2bf5bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dotnet/src/dotnetframework/GxClasses/Domain/GxCollections.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2402,7 +2402,8 @@ public void FromJSONObject(dynamic obj)
24022402
{
24032403
lock (syncObj)
24042404
{
2405-
this.Set(item.Key.ToString(), item.Value.ToString());
2405+
if (item.Key != null && item.Value != null)
2406+
this.Set(item.Key.ToString(), item.Value.ToString());
24062407
}
24072408
}
24082409
}

0 commit comments

Comments
 (0)