Project

General

Profile

Actions

Enhancement(機能追加・改善) #1329

closed

Change opMailSend::sendTemplateMail() to not use super global template

Added by Shogo Kawahara over 14 years ago. Updated over 14 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2010-07-13
Due date:
% Done:

100%

Estimated time:

Description

Overview

Changes opMailSend::sendTemplateMail() to not use super global template

( opMailSend::sendTemplateMail() を super global template = ./templates/* を使わないように変える)


Related issues 3 (0 open3 closed)

Related to OpenPNE 3 - Bug(バグ) #1304: Mail templates for mobile are defective (モバイル版のメールテンプレートに不備がある)Fixed(完了)Shogo Kawahara2010-07-07

Actions
Related to OpenPNE 3 - Bug(バグ) #1309: Unused template files are existing in mobile_mail_frontend (使われていない不要なメールテンプレートが存在している)Fixed(完了)Shogo Kawahara2010-07-08

Actions
Related to OpenPNE 3 - Bug(バグ) #1038: 携帯版の退会処理で500エラーInvalid(無効)2010-05-10

Actions
Actions #1

Updated by Shogo Kawahara over 14 years ago

  • Assignee set to Shogo Kawahara
  • Target version set to OpenPNE 3.6beta1
Actions #2

Updated by Shogo Kawahara over 14 years ago

  • Status changed from New(新規) to Pending Fixing(修正待ち)
Actions #3

Updated by Shogo Kawahara over 14 years ago

  • Status changed from Pending Fixing(修正待ち) to Accepted(着手)
Actions #4

Updated by Shogo Kawahara over 14 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50
Actions #5

Updated by Rimpei Ogawa over 14 years ago

  • Status changed from Pending Review(レビュー待ち) to Rejected(差し戻し)

NotificationMailTable::fetchTemplate() の中で mail_template.yml の内容からテンプレートを取得する処理がありますが、これを opNotificationMailTemplateLoaderDatabase という名前の Loader の中でやっているのは不適切です。Loader を分割するか、名前を変更するかのどちらかをすべきです。

また、使わなくなったスーパーグローバルのテンプレートファイルは削除しないと混乱のもととなるでしょう。

Actions #6

Updated by Shogo Kawahara over 14 years ago

  • Status changed from Rejected(差し戻し) to Pending Review(レビュー待ち)

更新履歴 d7cc88ac2ff918cd93bdd7ff5012bc3a7853cb84 で適用されました。

Actions #7

Updated by Rimpei Ogawa over 14 years ago

  • Status changed from Pending Review(レビュー待ち) to Rejected(差し戻し)

lib/util/opNotificationMailTemplateLoaderDatabase.class.php が不要になっているので削除してください。

Actions #8

Updated by Shogo Kawahara over 14 years ago

  • Status changed from Rejected(差し戻し) to Accepted(着手)
Actions #9

Updated by Shogo Kawahara over 14 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)

更新履歴 ae11e268f8bf6ae5f7f983eb7ba1edca39fd1572 で適用されました。

Actions #10

Updated by Rimpei Ogawa over 14 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70
Actions #11

Updated by Kousuke Ebihara over 14 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 70 to 100
Actions

Also available in: Atom PDF