What's the URL of the file containing the problem?
/reviews/json.py
What steps will reproduce the problem?
1. Write a JSON client to attempt to call the
/api/json/reviewrequests/<id>/draft/set/ interface
What is the expected output? What do you see instead?
This function should change a given property of one of the review requests.
Instead, it returns a server error with "undefined ariable field_entries".
I (possibly) fixed it by changing field_entries to field_name (line 573).
However, this triggers a second error, due to the fact that the draft
object returned to JsonResponse is not serializable.
What operating system are you using? What browser?
Linux / Firefox
Please provide any additional information below.
Will reference second non-serializable bug in comments.