task #229
完了
masaya_abe さんが9ヶ月前に追加.
9ヶ月前に更新.
- 説明 を更新 (差分)
- 期日 を 2024-06-20 にセット
- ステータス を 新規 から 却下 に変更
- 担当者 を masaya_abe にセット
- 開始日 を 2024-06-21 から 2024-06-18 に変更
- 予定工数 を 3:00時間 にセット
プラグイン入れると何故か一切のページが表示できなくなった
色々調べるうちに認証関連のパッチが原因ぽいことが分かった
redmine_ics_export/app/controllers/application_controller_patches.rb
下記の様に修正して問題解決できた.
と思ったら,他のページで500番エラー吐いた.
管理>プラグイン>各プラグインの設定
色々深掘れば解決できそうな気もするが,撤退することにした.
module ApplicationControllerPatches
module InstanceMethods
def find_current_user
result = super
return result if result
if params[:format] == 'ics' && params[:key] && request.get? && accept_rss_auth?
return User.find_by_rss_key(params[:key])
end
nil # Ensure to return nil if no user is found
end
end
def self.included(base)
base.class_eval do
prepend InstanceMethods
end
end
end
# Enable the patch
ApplicationController.send(:include, ApplicationControllerPatches)
他の形式にエクスポート: Atom
PDF