Actions
Enhancement(機能追加・改善) #933
closedNotify Doctrine_Event as symfony's one (Doctrineのイベントをsymfonyのイベントとして通知する)
Start date:
2010-04-06
Due date:
% Done:
100%
Estimated time:
Description
Updated by Eitarow Fukamachi almost 15 years ago
- % Done changed from 30 to 90
Updated by Eitarow Fukamachi almost 15 years ago
- Status changed from Accepted(着手) to Pending Review(レビュー待ち)
Updated by Eitarow Fukamachi almost 15 years ago
- Subject changed from Doctrineのイベントをsymfonyのイベントとして通知する to Notify Doctrine_Event as symfony's one (Doctrineのイベントをsymfonyのイベントとして通知する)
Updated by Eitarow Fukamachi almost 15 years ago
- Target version changed from OpenPNE 3.4.3 to OpenPNE 3.5.2
Updated by Kousuke Ebihara over 14 years ago
- Status changed from Pending Review(レビュー待ち) to Rejected(差し戻し)
- Target version changed from OpenPNE 3.5.2 to OpenPNE 3.5.3
- % Done changed from 90 to 0
Pending Review(レビュー待ち)¶ 開発者がチケットの対応を完了し、レビューを依頼していることを示すステータスです。 このステータスにする際は、「git://github.com/openpne/OpenPNE3.git の master もしくはリリースブランチにコードがマージされている」「チケットに関連するコミットが紐づけられているか、記載されている」という条件を満たしていなければなければなりません。条件を満たしていない場合、レビューを行うことができず、「Rejected(差し戻し)」となる場合があります。
Updated by Kousuke Ebihara over 14 years ago
- Target version changed from OpenPNE 3.5.3 to OpenPNE 3.6beta1
Updated by Kousuke Ebihara over 14 years ago
- Status changed from Rejected(差し戻し) to Pending Review(レビュー待ち)
Updated by Shogo Kawahara over 14 years ago
- Status changed from Pending Review(レビュー待ち) to Rejected(差し戻し)
openpne:install 時に以下のエラーメッセージが表示されます。
The "default" context does not exist.
以下のような修正が必要かと思われます。(案
diff --git a/lib/util/opDoctrineEventNotifier.class.php b/lib/util/opDoctrineEventNotifier.class.php index 12b3e66..00ff5e1 100644 --- a/lib/util/opDoctrineEventNotifier.class.php +++ b/lib/util/opDoctrineEventNotifier.class.php @@ -19,8 +19,11 @@ class opDoctrineEventNotifier extends Doctrine_Record_Listener { private static function notify($when, $action, $doctrineEvent) { - $dispatcher = sfContext::getInstance()->getEventDispatcher(); - $dispatcher->notify(new sfEvent(null, sprintf('op_doctrine.%s_%s_%s', $when, $action, get_class($doctrineEvent->getInvoker())))); + if (sfContext::hasInstance()) + { + $dispatcher = sfContext::getInstance()->getEventDispatcher(); + $dispatcher->notify(new sfEvent(null, sprintf('op_doctrine.%s_%s_%s', $when, $action, get_class($doctrineEvent->getInvoker())))); + } } public function preSave(Doctrine_Event $event)
Updated by Kousuke Ebihara over 14 years ago
- Status changed from Rejected(差し戻し) to Pending Review(レビュー待ち)
更新履歴 63dfc9619b974314d085eb2388361d330de7d04b で適用されました。
Updated by Shogo Kawahara over 14 years ago
- Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
- % Done changed from 50 to 70
Updated by Kousuke Ebihara over 14 years ago
- Status changed from Pending Testing(テスト待ち) to Fixed(完了)
- % Done changed from 70 to 100
Actions