Skip to content

Commit 75730ab

Browse files
Fix error with deserialization of property data types that may contain null values (#1073)
1 parent 5f67027 commit 75730ab

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
@@ -2400,7 +2400,8 @@ public void FromJSONObject(dynamic obj)
24002400
{
24012401
lock (syncObj)
24022402
{
2403-
this.Set(item.Key.ToString(), item.Value.ToString());
2403+
if (item.Key != null && item.Value != null)
2404+
this.Set(item.Key.ToString(), item.Value.ToString());
24042405
}
24052406
}
24062407
}

0 commit comments

Comments
 (0)