Vote #72561
完了404 Error when switching mode in view revision differences in non-main repo
0%
説明
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.
journals
Probably there is an error in /app/views/repositiories/diff.html.erb in line 4
<pre>
<code class="ruby">
<% form_tag({:path => to_path_param(@path)}, :method => 'get') do %>
</code></pre>
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Merged in 1.4-stable.
--------------------------------------------------------------------------------
related_issues
relates,Closed,11982,SCM diff view generates extra parameter for switching mode