Project

General

Profile

Actions

Bug(バグ) #1309

closed

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

Added by Minoru Takai over 14 years ago. Updated over 14 years ago.

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

100%

Estimated time:
3.6 で発生するか:
3.8 で発生するか:

Description

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.

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


Related issues 2 (0 open2 closed)

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

Actions
Related to OpenPNE 3 - Enhancement(機能追加・改善) #1329: Change opMailSend::sendTemplateMail() to not use super global templateFixed(完了)Shogo Kawahara2010-07-13

Actions
Actions #1

Updated by Shogo Kawahara over 14 years ago

  • Assignee set to Shogo Kawahara
Actions #2

Updated by Shogo Kawahara over 14 years ago

  • Tracker changed from Enhancement(機能追加・改善) to Bug(バグ)
Actions #3

Updated by Shogo Kawahara over 14 years ago

This issue happen from 3.2.x.

Actions #4

Updated by Shogo Kawahara over 14 years ago

  • Status changed from New(新規) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

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

Actions #5

Updated by Rimpei Ogawa over 14 years ago

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

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