1265: unable to add comments to unpublished code review

allyo******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 22, 2009
831
What version are you running?
1.0

What's the URL of the page containing the problem?
http://codereview/r/101/diff/#index_header

What steps will reproduce the problem?
1. use post-review to create a code review
2. go to the url that the script prints out at the end
3. click "View Diff"
4. click on a line number so that a comment dialog comes up
5. enter a comment
6. click ok; dismisses the dialog
7. After scrolling to the top of the page, I saw three error messages that
all say the same thing:

Error:
undefined 404 Not Found

Please try again later. If this continues to happen, please report it to
your administrator.

8. If you reload the page, the comments aren't there.

What is the expected output? What do you see instead?
Comments get saved.

What operating system are you using? What browser?
Windows XP Home Edition
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.13)
Gecko/2009073022 Firefox/3.0.13

Please provide any additional information below.
Error details:

Page not found (404)
Request Method: 	POST
Request URL: 
http://codereview/api/json/reviewrequests/101/diff/0/file/930/line/1/comments/

No FileDiff matches the given query.

You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard 404
page.