Re: DB_NestedSet not updating parent id properly

From: Date: Tue, 18 Nov 2003 05:38:17 +0000
Subject: Re: DB_NestedSet not updating parent id properly
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23721@lists.php.net to get a copy of this message
Andy Crain wrote: Hello Andy,
I think this might be a small bug. Please let me know if I'm wrong. NestedSet fails to update the parent id for a node when the node is moved-i.e. when calling moveTree(). This will occur only for those who have and pass a parameter for a parent field in their nodes table. Currently the node, once moved, retains its former parent id value, while it should take on the parent id of its new parent node.
That is possible as the parent thing is a very new feature. I'll look at this within the next view days (busy). greetings -- Daniel Khan

« previous php.pear.dev (#23721) next »