I've just submitted a note to bug #2447. Essentially, the problem in the bug is that behaviors are not loaded in plugins. My answer is to bootstrap the plugin to alter the Configure instance to give it an additional behaviorsPath like so:
$path = Configure::getInstance(); $path->behaviorPaths[] = APP . 'plugins' . DS . 'plugin_name' . DS . 'models' . DS . 'behaviors' . DS; My question is, do people agree with this solution, and are the cake core guys working on doing this as part of the plugin infrastructure, or is that not where it belongs? I also thought I'd share it for any irritated plugin developers, who like me have wrested with this one for a while. simon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
