Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.5

Bug #11287 Recursive Delete Functions For Only One Level
Submitted: 2007-06-11 18:07 UTC
From: mysticode Assigned: beni
Status: Closed Package: Net_LDAP (version 0.7.2)
PHP Version: 5.2.2 OS: Linux (Gentoo)
Roadmaps: 1.0.0    
Subscription  


 [2007-06-11 18:07 UTC] mysticode (David Leinbach)
Description: ------------ If you call Net_LDAP->delete($dn, true) - this call will fail if there are more than one level of child entitries under $dn. In LDAP.php on lines 77 and 75, the calls to delete for the child entries should be changed to pass true as a second parameter to force it to recurse on the children as well. Expected result: ---------------- Calling delete with recurseive = true should delete the entry regardless of the number of levels of child entries. Actual result: -------------- If there are more than one level of child entries, the delete will fail.

Comments

 [2007-06-12 09:35 UTC] beni (Benedikt Hallinger)
I fixed this bug in the latest CVS. please check out the latest CVS and test if the problem is solved now.
 [2007-06-12 11:03 UTC] beni (Benedikt Hallinger)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. I verified that the bug is fixed. Thank you for reporting this bug!