プロジェクト

全般

プロフィール

Bug(バグ) #1309

Unused template files are existing in mobile_mail_frontend (使われていない不要なメールテンプレートが存在している)

Minoru Takaiほぼ14年前に追加. ほぼ14年前に更新.

ステータス:
Fixed(完了)
優先度:
Normal(通常)
担当者:
対象バージョン:
開始日:
2010-07-08
期日:
進捗率:

100%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

説明

Overview

The mail template files that are called by "opMailSend::sendTemplateMail()" for mobile are "templates/mail/mobile/*".
However, "_requestRegister.php" is existing below:

メール送信時のテンプレートは opMailSend::sendTemplateMail() によって呼ばれ、モバイル版に関してはそれらは templates/mail/mobile/ 以下のファイルに限られます。
しかしながら、メールテンプレートが以下の場所にも存在しています。

  • apps/pc_backend/templates/mail/_requestRegisterURL.php
  • apps/mobile_mail_frontend/templates/mail/_requestRegisterURL.php

refs:

$ ack -g requestRegisterURL.php
apps/pc_backend/templates/mail/_requestRegisterURL.php
apps/mobile_mail_frontend/templates/mail/_requestRegisterURL.php
templates/mail/mobile/_requestRegisterURL.php
templates/mail/pc/_requestRegisterURL.php

Note

This design of mail is different between lte 3.4.x and gte 3.5.x (opAuthMailAddressPlugin)

メールテンプレートなど、メール周りの設計は 3.4.x 以前と 3.5.x 以降で異なっています。
これは新規登録時の opAuthMailAddressPlugin の依存性などの改善によるものと考えられます。

Causes

Defective design about mail.

メールに関する設計不備です。

Way to fix

Delete unused files.

不要なファイルを削除してください。


関連するチケット

関連している OpenPNE 3 - Bug(バグ) #1304: Mail templates for mobile are defective (モバイル版のメールテンプレートに不備がある) Fixed(完了) 2010-07-07
関連している OpenPNE 3 - Enhancement(機能追加・改善) #1329: Change opMailSend::sendTemplateMail() to not use super global template Fixed(完了) 2010-07-13

関係しているリビジョン

リビジョン 11444bde (差分)
Shogo Kawaharaほぼ14年前に追加

removed some unnecessarily mail templates (fixes #1309)

履歴

#1 Shogo Kawaharaほぼ14年前に更新

  • 担当者Shogo Kawahara にセット

#2 Shogo Kawaharaほぼ14年前に更新

  • トラッカーEnhancement(機能追加・改善) から Bug(バグ) に変更

#3 Shogo Kawaharaほぼ14年前に更新

This issue happen from 3.2.x.

#4 Shogo Kawaharaほぼ14年前に更新

  • ステータスNew(新規) から Pending Review(レビュー待ち) に変更
  • 進捗率0 から 50 に変更

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

#5 Rimpei Ogawaほぼ14年前に更新

  • ステータスPending Review(レビュー待ち) から Pending Testing(テスト待ち) に変更
  • 進捗率50 から 70 に変更

#6 Kousuke Ebiharaほぼ14年前に更新

  • ステータスPending Testing(テスト待ち) から Fixed(完了) に変更
  • 進捗率70 から 100 に変更

他の形式にエクスポート: Atom PDF