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] Resolved: (DIRSERVER-1156) Syntax checker is brittle for integer syntaxes
Date Tue, 01 Apr 2008 15:00:25 GMT

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

Emmanuel Lecharny resolved DIRSERVER-1156.
------------------------------------------

    Resolution: Won't Fix

I think it's a duplicate for issue https://issues.apache.org/jira/browse/DIRSERVER-1158

> Syntax checker is brittle for integer syntaxes
> ----------------------------------------------
>
>                 Key: DIRSERVER-1156
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1156
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: Studio version 1.1.0.v20080303, ADS version 1.5.1
>            Reporter: David Montag
>             Fix For: 1.5.2
>
>         Attachments: car-schema-2.ldif, Car.java
>
>
> To reproduce, import the attached schema and then run the attached code.
> It should produce:
> javax.naming.directory.InvalidAttributeValueException: Malformed 'makeYear' attribute
value; remaining name 'dc=car'
> 	at com.sun.jndi.ldap.LdapClient.encodeAttribute(LdapClient.java:951)
> 	at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:999)
> 	at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:770)
> 	at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
> 	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
> 	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
> 	at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178)
> 	at Car.main(Car.java:106)
> This issue was moved here from DIRSTUDIO-308.

-- 
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