Labels: Type-Defect Priority-Medium
New issue 3451 by a...@brookmoor.com: Server Error when viewing specific
*** READ THIS BEFORE POSTING!
*** You must complete this form in its entirety, or your bug report will be
*** If you have a security issue to report, please send it confidentially
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
*** This bug tracker is public. Please check that any logs or other
*** that you include has been stripped of confidential information.
What version are you running?
What's the URL of the page containing the problem?
What steps will reproduce the problem?
1. Not sure what happened here, but here is an approximate set of events.
2. Diff was uploaded, but didn't get applied cleanly and RB complained
3. Diff was discarded and a new diff was uploaded which also didn't apply
4. This diff was also discarded and then it turns out that the previous
discarded diff was actually applied, so maybe it wasn't discarded. Since
it was not applied correctly, went to admin and deleted the diff from the
DB. Bad idea, I guess!
5. Right now, if you just visit the URL, it crashes the server
What is the expected output? What do you see instead?
Expect to see main review page, but see a 500 server error
Is there any way to recover from this? Is there a script that checks for
DB consistency and notifies or corrects them?
What operating system are you using? What browser?
Please provide any additional information below.
The error trace is as follows:
Traceback (most recent call last):
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
line 23, in _check
return view_func(*args, **kwargs)
line 35, in _check
return view_func(request, local_site=local_site, *args, **kwargs)
line 662, in review_detail
line 159, in get_change_entry_sections_html
line 386, in render_change_entry_html
diffset = self.diffsets_by_id[added_diff_info]
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.