Bug #14341 [Com]: Complex updates fail

From: Date: Fri, 20 Apr 2012 12:58:58 +0000
Subject: Bug #14341 [Com]: Complex updates fail
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8570@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=14341&edit=1 ID: 14341 Comment by: bcooksley@kde.org Reported By: bart at ulyssis dot org Summary: Complex updates fail Status: Verified Type: Bug Package: Net_LDAP2 Operating System: Linux/Fedora 9 Package Version: 2.0.0RC3 PHP Version: 5.2.6 Assigned To: beni Roadmap Versions: New Comment: I notice this has not yet been committed yet. Please find attached a updated version. The current version will fail to delete attributes under certain circumstances, as it does not rekey the values. It also handles the case where you are adding and deleting attributes of the same name at the same time. Previous Comments: ------------------------------------------------------------------------ [2012-04-20 13:56:58] bcooksley Added #patch bug:14341;patch:improved-ldap-modify-once;revision:1334926618;. ------------------------------------------------------------------------ [2011-12-23 09:57:00] beni -Status: Assigned +Status: Verified Hi, i don't think that you need to adjust something. The tests look good so far, however i didn't had the time to verify and integrate it into the trunk. Expect the patch to be applied. If you have the time, it would be very cool if you could write some unit tests for modify. ------------------------------------------------------------------------ [2011-12-23 08:13:02] bcooksley Beni, what is the status of this being committed? Do I need to adjust my test configuration somehow do provide correct results? ------------------------------------------------------------------------ [2011-12-16 02:23:36] bcooksley As far as I can tell - at least on my system with the unit tests - they run the same regardless of the patch being applied or not. Results = Tests: 94, Assertions: 406, Failures: 2, Incomplete: 31, Skipped: 34 Failures were in Net_LDAP2_LDIFTest and Net_LDAP2_FilterTest which were untouched by my patch. Not sure about the 31 incomplete tests though. ------------------------------------------------------------------------ [2011-12-15 13:08:05] beni The patch (use-ldap-modify-once) looks good on a first glance. Can you confirm the unit tests are running well with it applied? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://pear.php.net/bugs/bug.php?id=14341 -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=14341&edit=1

« previous php.pear.bugs (#8570) next »