2460: Selecting comparison with latest revision from a comparison between older revisions in a draft

thes****@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 10, 2012
2157
What version are you running?
ReviewBoard 1.7a0

What's the URL of the page containing the problem?
Clicking r4 from "Changes between r2 and:" moves you from /r/4/diff/2-3/ to /r/4/diff/[4]%20diff%20r2-[5]%20diff%20r3/

What steps will reproduce the problem?
1. Create a code review and publish
2. Push changes to the same code review and publish
3. Push changes to the same code review but do NOT publish
4. Click 2 under "Changes between r3 and:"
5. Click 1 under "Changes between r2 and:"
6. Click 3 under "Changes between r1 and:" (the latest revision)

What is the expected output? What do you see instead?
The expectation is that this link will lead to /r/4/diff/1-3/
The link it leads to is instead /r/4/diff/[3]%20diff%20r1-[4]%20diff%20r2/

What operating system are you using? What browser?
Using Linux 3.1.8-1-ARCH on Chromium 16.0.912.75

Please provide any additional information below.
This occurs with code reviews with higher number of revisions, but always on a draft and always when clicking on the latest revision while viewing a revision between two of the older revisions. This seems to happen whenever you explicitly select the latest revision (e.g., /r/4/diff/[5]%20diff%20r3-None/).
david
#1 david