1032: Diff currently unavailable when viewing diffs of diffs
- Fixed
- Review Board
mw.t****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
|
|
May 9, 2009 |
What steps will reproduce the problem? 1. Post a review request with changes to multiple files 2. Change some, but not all of said files 3. Upload an updated diff 4. View the changes between the first and second set of diffs What is the expected output? Files that have not changed are either clearly marked as such or omitted from the output. What do you see instead? "Diff currently unavailable" error for files that did not change between the two diff sets. What operating system are you using? What browser? RB 1.0b2 on Linux. Using Firefox.
I have the same issue.
This shouldn't be happening anymore. Can you try a nightly and see if you're still hitting this? It's important for us to know soon for beta 1. Can you get a very simple repro case? Ideally post something to demo.review-board.org that I can test against.
-
+ NeedInfo -
+ Milestone-Release1.0 + Interdiffs + Component-DiffViewer -
+ chipx86
Assuming it's fixed. Make sure to also clear your server cache. Please reopen if this still happens.
-
- NeedInfo + Fixed
this is happening for me with ReviewBoard-1.0rc2.dev_20090506-py2.4.egg server running on CentOS 5 with mod_python under apache 2.2 client opensuse 10.2 running Firefox 2.0.0.17
The error appears on http://subversion-test/reviews/r/14/diff/1-2/#index_header NOTE: Diff 1 changes both file1.txt and file2.txt Diff 2 changes file1.txt but does not change file2.txt (relative to Diff 1)
-
+ +
Your patches don't cause this to repro for me. It works perfectly fine here. Can you upload something to demo.review-board.org against the Review Board codebase that demonstrates this?
http://demo.review-board.org/r/1767/diff/1-2/#index_header Note that the interdiff for file2.txt shows Diff currently unavailable. Error: Internal error. Unable to locate file record for filediff 1975 I would expect either no frame displayed for file2.txt (this would be my preference), or a message like "no changes made in file2.txt", or a blank frame
The reason for this is that we filter out unchanged diffs when displaying interdiffs, but only when loading fragments. So up-front, we think we have this one, but then we don't return anything when we load the fragment since it didn't change, hence the error about not finding the fragment.
Unfortunately this happened on me for now. http://ramble.corp.good.com/reviewboard/r/12744/diff/ Please let me know how to clear server cache for me.