Project

General

Profile

Defect #780

404 error occurs after editing comment

Added by Shinji Kawakami about 8 years ago. Updated about 8 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Assignee:
Target version:
Start date:
06/16/2011
Due date:
% Done:

100%

Estimated time:

Description

Wikiでコメントを書いた後、編集して適用をクリックすると404エラーが発生する。

r148 の修正漏れかと…。

--- wiki_extensions_controller.rb.ORIG  2011-06-02 00:15:08.000000000 +0900
+++ wiki_extensions_controller.rb       2011-06-15 16:09:42.000000000 +0900
@@ -79,7 +79,7 @@
     page = WikiPage.find(comment.wiki_page_id)
     comment.comment = params[:comment]
     comment.save
-    redirect_to :controller => 'wiki', :action => 'index', :id => @project, :page => page.title
+    redirect_to :controller => 'wiki', :action => 'show', :project_id => @project, :id => page.title

   end

Related issues

Has duplicate Wiki Extensions - Defect #781: コメントを編集した後、404 エラーページが表示される終了(Closed)06/16/2011

Actions

Associated revisions

Revision 5bdea12a (diff)
Added by Haru Iida about 8 years ago

fixes #780: 404 error occurs when wiki comment was updated.

History

#1

Updated by Haru Iida about 8 years ago

  • Assignee set to Haru Iida
  • Target version set to 0.3.5

ありがとうございます。修正します。

#2

Updated by Haru Iida about 8 years ago

  • Status changed from 新規(New) to 解決(Resolved)
  • % Done changed from 0 to 100

更新履歴 commit:a94e5564f690 で適用されました。

#3

Updated by Haru Iida about 8 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)

Also available in: Atom PDF