Project

General

Profile

Bug(バグ) #995

[Optimization] Waste file-accesses in i18n (i18n 関連処理で無駄なファイルアクセスがある)

Added by Kousuke Ebihara over 11 years ago. Updated over 11 years ago.

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

100%

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

Description

Waste file-accesses in i18n

i18n 関連処理で無駄なファイルアクセスがある


Related issues

Related to OpenPNE 3 - Bug(バグ) #1129: Warning error is occured when user's culture has no translation dictionary (e.g. English) (英語などの翻訳用の辞書ファイルがない言語を選択している場合にWarningエラーが発生する) Fixed(完了) 2010-06-02
Related to OpenPNE 3 - Bug(バグ) #2516: pc_backend_dev.php や mobile_frontend_dev.php で見るとi18nのキャッシュについてのwarningが出る Fixed(完了) 2011-10-19 2011-10-19

Associated revisions

Revision e9720667 (diff)
Added by Kousuke Ebihara over 11 years ago

decrease file-accesses in i18n (fixes #995)

Revision 67cc5bc9 (diff)
Added by Kousuke Ebihara over 11 years ago

changed writing i18n cache files way to following other symfony cache writings (fixes #995)

History

#1 Updated by Kousuke Ebihara over 11 years ago

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

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

#2 Updated by Kiwa Sakai over 11 years ago

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

symfony cc 実行時にWarningが発生するようになっています

>> file-     /OPENPNE_DIR/cache/apache/pc_frontend/prod/i18n/publicFlags.ja.xml.php
PHP Warning:  unlink(/OPENPNE_DIR/cache/apache/pc_frontend/prod/i18n/publicFlags.ja.xml.php): Permission denied in /OPENPNE_DIR/lib/vendor/symfony/lib/task/sfFilesystem.class.php on line 143
PHP Stack trace:
PHP   1. {main}() /usr/bin/symfony:0
PHP   2. include() /usr/bin/symfony:37
PHP   3. sfSymfonyCommandApplication->run() /OPENPNE_DIR/lib/vendor/symfony/lib/command/cli.php:20
PHP   4. sfTask->runFromCLI() /OPENPNE_DIR/lib/vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php:76
PHP   5. sfBaseTask->doRun() /OPENPNE_DIR/lib/vendor/symfony/lib/task/sfTask.class.php:97
PHP   6. sfCacheClearTask->execute() /OPENPNE_DIR/lib/vendor/symfony/lib/task/sfBaseTask.class.php:68
PHP   7. sfFilesystem->remove() /OPENPNE_DIR/lib/vendor/symfony/lib/task/cache/sfCacheClearTask.class.php:128
PHP   8. unlink() /OPENPNE_DIR/lib/vendor/symfony/lib/task/sfFilesystem.class.php:143

#3 Updated by Kousuke Ebihara over 11 years ago

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

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

#4 Updated by Kousuke Ebihara over 11 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)

#5 Updated by Kiwa Sakai over 11 years ago

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

完了にします

Also available in: Atom PDF