Project

General

Profile

Bug(バグ) #21

symfonyのタスク実行時の最初にWarningが出る

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

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2009-09-26
Due date:
% Done:

100%

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

Description

概要

symfonyのタスク実行時に

Warning: call_user_func(opActivateBehavior::disable):First argument is expected to be a valid callback in ....

というWarningが出る。

原因

ProjectConfiguration.class.php内で、

$this->dispatcher->connect('command.pre_command', array('opActivateBehavior', 'disable'));

としているが、この場合、タスク実行前に call_user_funcで指定した関数を実行する。
しかし、command.pre_commandイベントが実行された時点で lib/opActivateBehavior.class.phpがロードされていないために、この問題が起きている。

Associated revisions

Revision 9f384525 (diff)
Added by Shogo Kawahara about 14 years ago

fixed warning before task is executed (fixes #21)

Revision 12399644 (diff)
Added by Shinichi Urabe about 14 years ago

fixes #21 fixed cording standard

Revision 5dd89a93 (diff)
Added by Shinichi Urabe about 14 years ago

fixes #21 fixed cording standard

History

#1 Updated by Shogo Kawahara about 14 years ago

  • Status changed from New(新規) to Accepted(着手)

#2 Updated by Anonymous about 14 years ago

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

更新履歴commit:"9f3845258537e5bd63d141b1521e7c158f2394cf"で適用されました。

#3 Updated by Kousuke Ebihara about 14 years ago

  • Status changed from Pending Review(レビュー待ち) to Fixed(完了)
  • % Done changed from 0 to 100

Also available in: Atom PDF