What version are you running?
reviewboard 1.5.3
RBTools 0.3.1
Perforce 2010.1
What's the URL of the page containing the problem?
Intranet site: http://10.200.102.60
What steps will reproduce the problem?
1. Use post-review to post a new request.
2. Change some files.
3. Post again.
What is the expected output? What do you see instead?
Cannot update successfully, while seeing these errors with -d flag.
>>> RBTools 0.3.1
>>> Home = C:\Users\Vincent\AppData\Roaming
>>> svn info
>>> p4 info
>>> repository info: Path: localhost.localdomain:1667, Base path: None, Supports changesets: True
>>> Generating diff for changenum 8192290
>>> p4 describe -s 8192290
...
>>> HTTP GETting api/
>>> HTTP GETting http://10.200.102.60/api/info/
>>> Using the new web API
>>> Attempting to create review request on perforce.ges.xxx.com:1666 for 8192290
>>> HTTP POSTing to http://10.200.102.60/api/review-requests/: {'changenum': '8192290', 'repository': 'perforce.ges.xxx.com:1666'}
>>> Got API Error 204 (HTTP code 409): The change number specified has already been used
>>> Error data: {'stat': 'fail', 'review_request': {'status': 'pending', 'last_updated': '2011-02-08 21:05:46', 'description': '@defect 2268986 In some cases, C assertions will appear in SavAssert.dll. \n@rootcause Egde. the buffer is insufficient while appending the strings.\n@solution Force to truncate the string if exceeding the max spaces.\n', 'links': {'diffs': {'href': 'http://10.200.102.60/api/review-requests/651/diffs/', 'method': 'GET'}, 'repository': {'href': 'http://10.200.102.60/api/repositories/1/', 'method': 'GET', 'title': 'Perforce'}, 'self': {'href': 'http://10.200.102.60/api/review-requests/651/', 'method': 'GET'}, 'update': {'href': 'http://10.200.102.60/api/review-requests/651/', 'method': 'PUT'}, 'last_update': {'href': 'http://10.200.102.60/api/review-requests/651/last-update/', 'method': 'GET'}, 'reviews': {'href': 'http://10.200.102.60/api/review-requests/651/reviews/', 'method': 'GET'}, 'draft': {'href': 'http://10.200.102.60/api/review-requests/651/draft/', 'method': 'GET'}, 'submitter': {'href': 'http://10.200.102.60/api/users/vincent_zhang/', 'method': 'GET', 'title': 'vincent_zhang'}, 'screenshots': {'href': 'http://10.200.102.60/api/review-requests/651/screenshots/', 'method': 'GET'}, 'delete': {'href': 'http://10.200.102.60/api/review-requests/651/', 'method': 'DELETE'}}, 'target_groups': [{'href': 'http://10.200.102.60/api/groups/SAV_BASE_CDC/', 'method': 'GET', 'title': 'SAV_BASE_CDC'}], 'bugs_closed': ['2268986'], 'changenum': 8192290, 'target_people': [{'href': 'http://10.200.102.60/api/users/anthony_xie/', 'method': 'GET', 'title': 'anthony_xie'}, {'href': 'http://10.200.102.60/api/users/chris_zhang/', 'method': 'GET', 'title': 'chris_zhang'}], 'testing_done': '', 'branch': 'trunk', 'id': 651, 'time_added': '2011-02-08 20:59:35', 'summary': '@defect 2268986 In some cases, C assertions will appear in SavAssert.dll. ', 'public': True}, 'err': {'msg': 'The change number specified has already been used', 'code': 204}}
>>> Review request already exists. Updating it...
>>> HTTP PUTting to http://10.200.102.60/api/review-requests/651/: {'changenum': 8192290}
>>> Got API Error 105 (HTTP code 400): One or more fields had errors
>>> Error data: {'fields': {'changenum': ['Field is not supported']}, 'stat': 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}}
Error creating review request: One or more fields had errors (HTTP 400, API Error 105)
What operating system are you using? What browser?
Windows 7
Firefox 4.0/Chrome 8.0/IE 9.0
Please provide any additional information below.
I can use RBTools 0.2.1 to update successfully.