[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[kagemai-users:0069] Re: メール通知先の変更がエラーになる



福岡です。

渡邉大洋 san wrote:
 
| それとまた別件なのですが、0.8.1 (*-1でも同様)で、一つ不具合がありました。
| 
| view_report で「メール通知先の変更」の部分、「設定を変更する」と
| した所エラーが出ます。こちらは BTS に入れた方が良いですか?

バグなので BTS にもあった方がよさそうです。
あとで入れておきたいと思います。

このバグについては、lib/kagemai/cgi/action/set_email_notify.rb を
以下のような修正すれば大丈夫だと思います。

Index: set_email_notify.rb
===================================================================
RCS file: /home/repository/kagemai/lib/kagemai/cgi/action/set_email_notify.rb,v
retrieving revision 1.7
diff -u -c -r1.7 set_email_notify.rb
*** set_email_notify.rb	11 Feb 2003 16:30:06 -0000	1.7
--- set_email_notify.rb	20 Apr 2003 13:44:00 -0000
***************
*** 51,56 ****
--- 51,57 ----
          :email_notification => @email_notification,
          :use_cookie         => @use_cookie,
          :params             => report,
+         :show_form          => false,
          :errors             => FormErrors.new
        }
        body = eval_template('view_report.rhtml', param)


-- 
福岡ともゆき <fukuoka@xxxxxxxxxxxxx>
http://www.daifukuya.com/