Closed
Bug 26514
Opened 25 years ago
Closed 20 years ago
isDeleted() doesn't return true for deleted attributes
Categories
(Directory :: PerLDAP, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: taras, Assigned: leif)
Details
Attachments
(1 file)
isDeleted always returns false for deleted attributes because of line 310: return 0 unless defined($self->{$attr}); i.e. the attribute has been deleted, hence not defined, hence always returns false. This line should be removed. Perhaps as a safeguard _oc_order_ should be checked for a kosher $attr attribute name.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
ooh, I love simple bugs, is there an lxr url to this, I think fixing it should be really easy. Reporter, we usuaully accept patches, if you attached one maybe it would be checked in. Is PerlLDAP a Sun:Solaris thing or could I move this bug to All/All?
Reporter | ||
Comment 2•24 years ago
|
||
Reporter | ||
Comment 3•24 years ago
|
||
I reported the bug under Solaris because thats the platform I was working on at the time. It really applies to all platforms where PerLDAP can be found. Unsure of the preferred patching mechanism and how it should be delivered, but I've just created an attachment for a patch to $Id: Entry.pm,v 1.12.4.4 2000/06/25 03:07:46 kevin%perldap.org Exp $
Assignee | ||
Comment 4•20 years ago
|
||
This has apparently already been fixed and checked in, closing it. This will be in the next PerLDAP release, v1.5, and it's also in the dev branch (devel-branch-1_4_2).
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•