Holy cow, you're right. Just did a data-dump of a tree before and after the delete and it did update automatically. How cool is that. I guess this is the beauty of the Propel Behaviors, eh? I just got a little nervous when the plugin didn't handle the parent reload() after inserts and was worried there was going to be a similar problem with deletes.
Thanks for your quick response Piers. Also, I noticed that FrankG has been added as an additional maintainer for this plugin, right on. I'll keep banging away it ;-) --peterVG > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of Piers Warmers > Sent: May 31, 2007 3:08 PM > To: [email protected] > Subject: [symfony-users] Re: Do I have to update the whole > tree after deleting a leaf node? > [sfPropelActAsNestedSetBehaviorPlugin] > > > Hi Peter, > > > > if I delete a leaf node I still > need to update the tree to make sure there are no gaps > left in the > left/right values, right? > > > > No, that will be managed for you by the plugin. > > So the beauty of the plugin is all that work is managed by the plugin. > > A couple of things i have found: > > 1 ) Cross tree moves don't seem to be properly supported? Can > someone else confirm this? > > 2 ) I think there is a missing criteria in version 0.8.2 > onwards of the plugin. I've submitted a ticket: > > http://trac.symfony-project.com/trac/ticket/1796 > > And I currently use my own patched version of the plugin. > > It also includes a new method isDescendantOf() which I > needed. Ticket for proposed enhancement here: > > http://trac.symfony-project.com/trac/ticket/1797 > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
