[
https://issues.apache.org/jira/browse/DIRSERVER-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490718
]
Stefan Zoerner commented on DIRSERVER-799:
------------------------------------------
You are right, Emmanuel. I have just built the trunk of the 1.5.1 and got this
with my simple test above:
$ ldapmodify -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -a -f
"kate.ldif"
adding new entry cn=Kate Bush,dc=example,dc=com
ldap_add: Invalid syntax
ldap_add: additional info: failed to add entry cn=Kate Bush,dc=example,dc=com:
Attribute value 'noNumber' for attribute 'mailpreferenceoption' is syntaxically
incorrect
$
So this problem does not occur in 1.5.1 SNAPSHOT. I am impressed by the
informative error message. Thanks for clarification.
> Check attributes syntax
> -----------------------
>
> Key: DIRSERVER-799
> URL: https://issues.apache.org/jira/browse/DIRSERVER-799
> Project: Directory ApacheDS
> Issue Type: Task
> Reporter: Emmanuel Lecharny
> Fix For: 1.5.1
>
>
> Now that we have SyntaxCheckers for many attributes, we must use them in the
> Schema Interceptor to check that added, modified, searched and deleted values
> are checked against those Syntax Checkers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.