プロジェクト

全般

プロフィール

Vote #72561

完了

404 Error when switching mode in view revision differences in non-main repo

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
55
issue_org_id:
11966
author_id:
63000
assigned_to_id:
0
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
53
ステータス-->[Closed]

説明

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

Admin Redmine さんが3年以上前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン1.4.5_55 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0