Thanks Dr mmm is it me being too demanding or is it not a little weird that you can not expect your models to behave the same when they are called through associations ?
How does the Translate Behavior behaves for instance ? (this is not the one I'm using but might be in the near future) . Don't I get translations through associations ? Just asking though. TIA thomas On Oct 13, 1:21 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote: > I have asked Chris Hartjes the same question over GTalk, and he in > turn talked to Nate. Apparently, this is a "complexity issue", so I > don't think you should be expecting good news anytime soon. > > Maybe if we had a behavior for that... :-D > > On Oct 13, 12:45 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > Hello there, > > > I have been looking for an hour or so and could not find an answer so > > I am posting here. > > > I have a Behavior attached to a Model > > > this Behavior afterFind method is callled when the Model is the > > primary model (called directly) but apparently not when the model is > > queried through an association. > > > I have read this :https://trac.cakephp.org/ticket/2056 > > > and this > > :http://groups.google.com/group/cake-php/browse_thread/thread/5f3d90e3... > > > but still don't know if this has been corrected (enhanced ?) > > > I might be missing something but don't know what. > > > Is a Behavior afterFind method not supposed to be automatically called > > for associated models ? > > > Thanks in advance and sorry if I have missed something obvious or > > haven't searched well enough > > > thomas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
