Enhancement(機能追加・改善) #1329
Change opMailSend::sendTemplateMail() to not use super global template
100%
説明
Overview¶
Changes opMailSend::sendTemplateMail() to not use super global template
( opMailSend::sendTemplateMail() を super global template = ./templates/* を使わないように変える)
関連するチケット
関係しているリビジョン
changed opMailSend::sendTemplateMail() to not use super globl template (refs #1329)
removed opNotificationMailTemplateLoaderDatabase, added opNotificationMailTemplateLoaderConfigSample (refs #1329)
removed super global templates (fixes #1329)
removed opNotificationMailTemplateLoaderDatabase (fixes #1329)
履歴
#1 Shogo Kawahara がほぼ14年前に更新
- 担当者 を Shogo Kawahara にセット
- 対象バージョン を OpenPNE 3.6beta1 にセット
#2 Shogo Kawahara がほぼ14年前に更新
- ステータス を New(新規) から Pending Fixing(修正待ち) に変更
#3 Shogo Kawahara がほぼ14年前に更新
- ステータス を Pending Fixing(修正待ち) から Accepted(着手) に変更
#4 Shogo Kawahara がほぼ14年前に更新
- ステータス を Accepted(着手) から Pending Review(レビュー待ち) に変更
- 進捗率 を 0 から 50 に変更
#5 Rimpei Ogawa がほぼ14年前に更新
- ステータス を Pending Review(レビュー待ち) から Rejected(差し戻し) に変更
NotificationMailTable::fetchTemplate() の中で mail_template.yml の内容からテンプレートを取得する処理がありますが、これを opNotificationMailTemplateLoaderDatabase
という名前の Loader の中でやっているのは不適切です。Loader を分割するか、名前を変更するかのどちらかをすべきです。
また、使わなくなったスーパーグローバルのテンプレートファイルは削除しないと混乱のもととなるでしょう。
#6 Shogo Kawahara がほぼ14年前に更新
- ステータス を Rejected(差し戻し) から Pending Review(レビュー待ち) に変更
更新履歴 d7cc88ac2ff918cd93bdd7ff5012bc3a7853cb84 で適用されました。
#7 Rimpei Ogawa がほぼ14年前に更新
- ステータス を Pending Review(レビュー待ち) から Rejected(差し戻し) に変更
lib/util/opNotificationMailTemplateLoaderDatabase.class.php が不要になっているので削除してください。
#8 Shogo Kawahara がほぼ14年前に更新
- ステータス を Rejected(差し戻し) から Accepted(着手) に変更
#9 Shogo Kawahara がほぼ14年前に更新
- ステータス を Accepted(着手) から Pending Review(レビュー待ち) に変更
更新履歴 ae11e268f8bf6ae5f7f983eb7ba1edca39fd1572 で適用されました。
#10 Rimpei Ogawa がほぼ14年前に更新
- ステータス を Pending Review(レビュー待ち) から Pending Testing(テスト待ち) に変更
- 進捗率 を 50 から 70 に変更
#11 Kousuke Ebihara がほぼ14年前に更新
- ステータス を Pending Testing(テスト待ち) から Fixed(完了) に変更
- 進捗率 を 70 から 100 に変更