[patch] json deserialization for Null foreign keys broken
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
if a foreign key has a NULL value, this is not treated correctly during deserialization. It tries to construct a Model with a primary key NULL. This is easily solved, see patch.