To reply, visit https://hellosplat.com/s/beanbag/tickets/4459/

New ticket #4459 by cu
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect

"File not found" when viewing a modified file which no longer exists as of the 
latest revision

# What version are you running?

# What's the URL of the page containing the problem?

Private instance pointed at a private Subversion repository

# What steps will reproduce the problem?

1) Create a file, post a review, commit as revision 1

Diff shows all lines being added.

2) Modify the file, post a review, commit as revision 2

Diff shows the modification.

3) Delete the file, post a review, commit as revision 3

Diff shows all lines being deleted.

4) Reload the review request from Step 2

Instead of showing modified lines, the following error is shown:

The file '("File not found: revision , path '/trunk/foo'", 160013)' could not 
be found in the repository

This may be a bug in the software, a temporary outage, or an issue with the 
format of your diff.

Please try again, and if you still have trouble, contact suppor

5) Reload the review request from Step 3

Instead of showing the deleted lines (all of them), the same error above is 

# What is the expected output? What do you see instead?

Review Board should show the diffs properly, even though the file no longer 
exists in revision 3. Note that they are displayed correctly before the file is 
removed in revision 3. When reproducing this, you have have to use Shift+Reload 
in your browser to avoid the cached diff showing up.

# What operating system are you using? What browser?

Probably not relevant, but Ubuntu 14.04. Any browser.

# Please provide any additional information below.

Not sure why Review Board should care whether the file exists in the most 
recent revision (or why it is even contacting Subversion just to display a 
review in the first place), my understanding is that it stores all diffs in its 
database anyway.


You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to