Seems to work great. I removed the 'Parent', and 'Child' relationship from Page, and refactored it to use the Tree behavior methods instead.
Thanks. On Feb 16, 5:06 pm, benjam <[email protected]> wrote: > I had thought of that (the Parent Child thing on multiple models) but > was hoping that Cake was smart enough to know which was which. > > Thanks for the info, I'll fiddle with it and post the outcome here... > > On Feb 16, 12:43 pm, AD7six <[email protected]> wrote: > > > On Feb 16, 9:21 am,benjam<[email protected]> wrote: > > > > Here are some (hopefully) relevant code > > > snippits:http://pastebin.com/f7426e0c4 > > > > On Feb 16, 8:55 am,benjam<[email protected]> wrote: > > > > > I have just com across a very strange issue with Cake. I have ACL > > > > installed in my app, and I havre a self-referencing table in that app > > > > as well (Parent-Child). > > > That's nothing to do with ACL and almost definitely because you're > > using 'Parent' and 'Child' aliases in multiple models to refer to > > different classes. > > > Why define these relationships at all, they are redundant with the > > tree behavior. > > > AD --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
