What version are you running?
2.0.8
What's the URL of the page containing the problem?
/r/ID/
What steps will reproduce the problem?
1. Create a perforce review for a change number
2. Publish the review
3. Update the changenum via the REST API as documented here:
https://www.reviewboard.org/docs/manual/2.0/webapi/2.0/resources/review-request/#PUT
i.e.
curl http://reviewboard.example.com/api/review-requests/8/ -X PUT -d changenum=1234
What is the expected output? What do you see instead?
The change number is not updated as expected.
What operating system are you using? What browser?
Debian 7, Chrome 37
Please provide any additional information below.
The documentation does state that the changenum is deprecated and commit_id should be used. The commit_id can be updated with the following command:
curl http://reviewboard.example.com/api/review-requests/8/draft/ -X PUT -d commit_id=1234
The update succeeds, but the changenum is not updated to match, even after publishing the draft.
This wouldn't be that bad, except that the Web UI displays the changenum instead of the commit_id field. A simpler fix might be to display commit_id instead of changenum in the UI.