directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-336) Attribute from extensibleObject cannot be used in search filter.
Date Sun, 15 Feb 2009 13:32:59 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny closed DIRSERVER-336.
---------------------------------------


closed

> Attribute from extensibleObject cannot be used in search filter.
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-336
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-336
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Enrique Rodriguez
>            Assignee: Alex Karasulu
>
> The following filter fails during DirContext.search() when the attribute used is from
an extensibleObject:
> String filter = "(servicePid=org.apache.dns.factory)";
> LDIF excerpt:
> dn: ou=dns,ou=services,ou=configuration,ou=system
> objectClass: top
> objectClass: organizationalUnit
> objectClass: extensibleObject
> ou: dns
> servicePid: org.apache.dns.factory
> org.apache.ldap.server.interceptor.InterceptorException: Unexpected exception. [Root
exception is java.lang.RuntimeException: OID for name 'servicePid' was not found within the
OID registry]
> 	at org.apache.ldap.server.interceptor.InterceptorChain.throwInterceptorException(InterceptorChain.java:1368)
> 	at org.apache.ldap.server.interceptor.InterceptorChain.search(InterceptorChain.java:754)
> 	at org.apache.ldap.server.partition.DirectoryPartitionNexusProxy.search(DirectoryPartitionNexusProxy.java:371)
> 	at org.apache.ldap.server.partition.DirectoryPartitionNexusProxy.search(DirectoryPartitionNexusProxy.java:359)
> 	at org.apache.ldap.server.jndi.ServerDirContext.search(ServerDirContext.java:616)
> ...
> Caused by: java.lang.RuntimeException: OID for name 'servicePid' was not found within
the OID registry
> 	at org.apache.ldap.server.normalization.ValueNormalizingVisitor.visit(ValueNormalizingVisitor.java:71)
> 	at org.apache.ldap.common.filter.SimpleNode.accept(SimpleNode.java:168)
> 	at org.apache.ldap.common.filter.BranchNode.accept(BranchNode.java:356)
> 	at org.apache.ldap.server.normalization.NormalizationService.search(NormalizationService.java:163)
> 	at org.apache.ldap.server.interceptor.InterceptorChain.search(InterceptorChain.java:746)
> 	... 22 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message