Defect #11966
closed
404 Error when switching mode in view revision differences in non-main repo
Added by Alexander Altynchurin about 12 years ago.
Updated about 12 years ago.
Description
When I try switch view mode in Revision/View differences window for non-main repo, I get 404 error.
I found that repo id is not included in URL after changing the view differences mode.
Probably there is an error in /app/views/repositiories/diff.html.erb in line 4
<% form_tag({:path => to_path_param(@path)}, :method => 'get') do %>
- Status changed from New to Confirmed
- Affected version (unused) changed from 1.4.0 to 1.4.4
- Affected version changed from 1.4.0 to 1.4.4
- Priority changed from Normal to Low
I confirmed 1.4-stable has this bug.
And trunk r10487 has no bug.
route.rb has changed heavily from Rails2 to Rails3.
Fix the bug of only 1.4-stable is a high cost.
Associated code changes solve the problem, thank you!
- Target version set to 1.4.5
- Resolution set to Fixed
- Status changed from Confirmed to Resolved
- Resolution deleted (
Fixed)
- Status changed from Resolved to Closed
- Resolution set to Fixed
Also available in: Atom
PDF