| Alex Karasulu (JIRA) 2005-10-19, 5:46 pm |
| [ http://issues.apache.org/jira/brows...VE-276?page=all ]
Alex Karasulu updated DIREVE-276:
---------------------------------
Description:
If I add an entry with objectClass inetOrgPerson to the directory but do not include in the objectClass attribute values for the super objectClasses like organizationalPerson and person then (objectClass=person) will not return the entry when it is in sco
pe. To fix this is simple. Instead of adding tests for lineage on search operations which would be a nightmare we should pay the price on the add operation. Basically an interceptor can check that the lineage of objectClasses is present within the obje
ctClass attribute. If not then it can be injected into the entry before the add operation takes place.
I don't know if this is correct behavior but it cannot hurt.
was:If I add an entry with objectClass inetOrgPerson to the directory but do not include in the objectClass attribute values for the super objectClasses like organizationalPerson and person then (objectClass=person) will not return the entry when it is
in scope. To fix this is simple. Instead of adding tests for lineage on search operations which would be a nightmare we should pay the price on the add operation. Basically an interceptor can check that the lineage of objectClasses is present within th
e objectClass attribute.
> Search for super OC does not return subclasses if add op does not add complete objectClass lineage
> --------------------------------------------------------------------------------------------------
>
> Key: DIREVE-276
> URL: http://issues.apache.org/jira/browse/DIREVE-276
> Project: Directory Server
> Type: Bug
> Reporter: Alex Karasulu
> Assignee: Alex Karasulu
> Fix For: 0.9.3
>
> If I add an entry with objectClass inetOrgPerson to the directory but do not include in the objectClass attribute values for the super objectClasses like organizationalPerson and person then (objectClass=person) will not return the entry when it is in s
cope. To fix this is simple. Instead of adding tests for lineage on search operations which would be a nightmare we should pay the price on the add operation. Basically an interceptor can check that the lineage of objectClasses is present within the ob
jectClass attribute. If not then it can be injected into the entry before the add operation takes place.
> I don't know if this is correct behavior but it cannot hurt.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|