What's the URL of the page containing the problem?
/api/json/reviewrequests/new/
What steps will reproduce the problem?
1. Perform any JSON API action that will cause a review request with no
bugs_closed to be serialized (creating a new one, etc.)
What is the expected output? What do you see instead?
The review request should simply have no closed bugs. Instead, an error
occurs:
ValueError at /api/json/reviewrequests/new/
invalid literal for int():
Request Method: POST
Request URL: http://example.com/api/json/reviewrequests/new/
Exception Type: ValueError
Exception Value: invalid literal for int():
Exception Location: /usr/share/reviewboard/reviews/json.py in default,
line 104
What operating system are you using? What browser?
Linux, Firefox 2.0.0.4
Please provide any additional information below.
A patch is available at http://reviews.review-board.org/r/100/