Opened 18 years ago
Closed 18 years ago
#2921 closed defect (fixed)
[patch] json deserialization for Null foreign keys broken
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (2)
by , 18 years ago
Attachment: | deserialize_null.diff added |
---|
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
promised patch