Defect #9679
closedSubversion: 404 on diff of renamed files
0%
Description
This can be turned into a Better handling of renamed item revision history FR but RM actually triggers a 404
where it should not:
Looking at a renamed file revision history, e.g. /app/views/issues/show.html.erb which has been renamed with r7043:
- if you try to get r7043 diff, you'll get an empty page (weird, but not an error)
- if you try to get a diff between a revision > r7043 and any other revision you'll get a correct diff
- if you try to get a diff between 2 revisions < r7043 you'll get a
404
FR idea: insert some "File has been renamed from <XX>" after r7043 line.
The 404
is the bug.
Related issues
Updated by Filou Centrinov over 11 years ago
I can not reproduce the problem. The following diff page of r7043 is not empty: http://www.redmine.org/projects/redmine/repository/revisions/7043/diff/
Updated by Etienne Massip over 11 years ago
I can totally reproduce. Just go to the history page, select both 7043 and previous revision 6732 and click on button at the bottom of the page.
And diff between 2 older revisions gives an ununderstandable 404.
Updated by Filou Centrinov over 11 years ago
I see. Revision 7241:6372 and Revision 7241:6326 are working, but Revision 6372:6326 shows an error 404.
Updated by Etienne Massip over 11 years ago
Filou Centrinov wrote:
I see. Revision 7241:6372 and Revision 7241:6326 are working, but Revision 6372:6326 shows an error 404.
Exactly. And Revision 7043:6372 is empty.
Updated by Toshi MARUYAMA over 11 years ago
- Subject changed from 404 on diff of renamed files to Subversion: 404 on diff of renamed files
Updated by Toshi MARUYAMA over 11 years ago
- Status changed from Confirmed to Closed
Duplicate with #2493.
Updated by Etienne Massip over 11 years ago
- Target version deleted (
Candidate for next minor release)