Commit 78bfa46
committed
bug: fix case where null json value for datetime fails
Json like:
{
"assignedto": "3",
"duedate": null,
"files": [],
"keyword": [],
"messages": [
"4",
"13"
],
"nosy": [],
"priority": "2",
"status": "3",
"superseder": [],
"title": "issue title"
}
is produced by a GET request using verbose=0. When submitted to the
rest interface results in:
property duedate: 'None' is an invalid date (Not a date spec: 'None'
("yyyy-mm-dd", "mm-dd", "HH:MM", "HH:MM:SS" or "yyyy-mm-dd.HH:MM:SS.SSS"
Fix FsValue to map null to the None object rather than 'None' string.1 parent 4ec9098 commit 78bfa46
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2782 | 2782 | | |
2783 | 2783 | | |
2784 | 2784 | | |
| 2785 | + | |
| 2786 | + | |
2785 | 2787 | | |
2786 | 2788 | | |
2787 | 2789 | | |
| |||
0 commit comments