PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_LDAP » Bug #8215

$entry->delete only deletes one single value until $entry->update()

Details

Submitted2006-07-14 07:47 UTC
Fromb dot hallinger at skyforcesystems dot de
StatusBogus
PackageNet_LDAP
PHP Version4.4.2
OSDebian Linux (Etch)
Roadmaps(Not assigned)

Comments

[2006-07-14 07:47 UTC] b dot hallinger at skyforcesystems dot de

Description:
------------
It is not possible to run several $entry->delete() operations to delete several values of an attribute at once.

Test script:
---------------
$entry->delete(array($attribute[0] => 'blaval'));
$entry->delete(array($attribute[0] => 'new_value'));
$entry->update();

Expected result:
----------------
Both values are deleted from the directory.

Actual result:
--------------
Only one value is actually removed.

[2006-07-14 09:36 UTC] b dot hallinger at skyforcesystems dot de

I had a old CVS version, sorry.
In the current CVS it is already fixed.

[2006-07-14 09:37 UTC] b dot hallinger at skyforcesystems dot de

status changed to bogus