| Ole Ersoy 2007-05-18, 7:11 pm |
| Piggy Backing that iiiis :-)
Ole Ersoy (JIRA) wrote:
> [ https://issues.apache.org/jira/brow...action_12497068 ]
>
> 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:
>
> javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - failed to add entry m-oid=1.3.6.1.4.1.18060.0.4.0.0.100000.233.1233,ou=syntaxes,cn=xsd,ou=schema: Attribute m-name not declared in objectClasses of entry m-oid=1.3.6.1.4.1.18060.0.4
.0.0.100000.233.1233,ou=syntaxes,cn=xsd,ou=schema]; remaining name 'm-oid=1.3.6.1.4.1.18060.0.4.0.0.100000.233.1233'
> at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3036)
> at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
> at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758)
> at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:774)
>
> 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.
>
>
>
|