directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Ersoy (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-935) Test hangs on non-existant schema entry lookup
Date Fri, 18 May 2007 22:37:16 GMT


Ole Ersoy commented on DIRSERVER-935:

OK - I'm picking backing on this bug,
since this observation uses the same test code,
although this is likely a different bug.

If I add
attributes.put( "m-name", "hello" );

to the attributes of the syntax entry,
and try to run the test again, I get: [LDAP: error code 65 - failed to add entry
m-oid=,ou=syntaxes,cn=xsd,ou=schema: Attribute m-name
not declared in objectClasses of entry m-oid=,ou=syntaxes,cn=xsd,ou=schema];
remaining name 'm-oid='
	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(
	at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(

Even though the the ObjectClasses that the syntax entry uses
are the same as the ObjectClasses on other syntax entries that have
the m-name attribute.

> Test hangs on non-existant schema entry lookup
> ----------------------------------------------
>                 Key: DIRSERVER-935
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.1
>            Reporter: Ole Ersoy
>            Priority: Minor
>             Fix For: pre-2.0
>         Attachments:
> Hey Guys,
> I do a lookup like this inside a test:
>         syntaxContext.lookup(xsdSyntaxStringRDN);
> //      syntaxContext.lookup("monkeywrench");
> If I leave the monkeywrench lookup commented
> out, the test runs fine repeatedly.
> If I comment in the monkeywrench the
> test just hangs.  I was expecting
> a NamingException.
> I pasted a self contained test for this
> below.
> Cheers,
> - Ole

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

View raw message