94: Nonexistent variable used in review_request_draft_set

PNC****@gmai***** (Google Code) (Is this you? Claim this profile.)
June 8, 2007
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.
#1 PNC****@gmai***** (Google Code) (Is this you? Claim this profile.)
After fixing this, issue #95 takes effect.
david
#2 david
Fixed in svn, thanks.
david
#3 david
  • +Fixed