Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 63751 invoked from network); 23 Jul 2009 20:38:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 20:38:32 -0000 Received: (qmail 10362 invoked by uid 500); 23 Jul 2009 20:39:37 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 10266 invoked by uid 500); 23 Jul 2009 20:39:37 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 10258 invoked by uid 99); 23 Jul 2009 20:39:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 20:39:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 20:39:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C5284234C004 for ; Thu, 23 Jul 2009 13:39:14 -0700 (PDT) Message-ID: <769656523.1248381554802.JavaMail.jira@brutus> Date: Thu, 23 Jul 2009 13:39:14 -0700 (PDT) From: "Eric Gulatee (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIRSERVER-1387) Trying to create an object with custom attributes mapped to [directory string] and of type m-may. Causes failure if attribute value is left blank MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Trying to create an object with custom attributes mapped to [directory string] and of type m-may. Causes failure if attribute value is left blank -------------------------------------------------------------------------------------------------------------------------------------------------- Key: DIRSERVER-1387 URL: https://issues.apache.org/jira/browse/DIRSERVER-1387 Project: Directory ApacheDS Issue Type: Bug Affects Versions: 1.5.4 Environment: Windows PC, Websphere Portal 6.1 Reporter: Eric Gulatee [15:23:15] ERROR [org.apache.directory.server.ldap.handlers.ReferralAwareRequestHandler] - INVALID_ATTRIBUTE_SYNTAX: failed for Add Request : ClientEntry dn: 0.9.2342.19200300.100.1.1=kim777,2.5.4.3=users,0.9.2342.19200300.100.1.25=portal,0.9.2342.19200300.100.1.25=osc,0.9.2342.19200300.100.1.25=state,0.9.2342.19200300.100.1.25=ny,0.9.2342.19200300.100.1.25=us objectclass: CUSTOMObjectClass uid: kim777 postalcode: 12110 givenname: HULA phoneext2: modifiedby: kim777 city: ABC stateabbreviation: NY sharedsecretsanswer1: MAPLE countryname: United States fax2: fax1: sharedsecretsanswer2: hyd phoneext: stateorprovincename: mail: someone@world.com sn: nakka mobile2: createdby: kim777 plus4: cn: kim777 telephonenumber2: postaladdress2: mobile: : Attribute value '' for attribute 'fax2' is syntactically incorrect org.apache.directory.shared.ldap.exception.LdapInvalidAttributeValueException: Attribute value '' for attribute 'fax2' is syntactically incorrect at org.apache.directory.server.core.schema.SchemaInterceptor.assertSyntaxes(SchemaInterceptor.java:2033) at org.apache.directory.server.core.schema.SchemaInterceptor.check(SchemaInterceptor.java:1699) at org.apache.directory.server.core.schema.SchemaInterceptor.add(SchemaInterceptor.java:1819) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189) at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.add(OperationalAttributeInterceptor.java:191) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189) at org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:220) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189) at org.apache.directory.server.core.interceptor.BaseInterceptor.add(BaseInterceptor.java:129) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189) at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:448) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189) at org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:213) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189) at org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:113) at org.apache.directory.server.core.interceptor.InterceptorChain.add(InterceptorChain.java:749) at org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:78) at org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:378) at org.apache.directory.server.ldap.handlers.AddHandler.handleIgnoringReferrals(AddHandler.java:59) at org.apache.directory.server.ldap.handlers.AddHandler.handleIgnoringReferrals(AddHandler.java:40) at org.apache.directory.server.ldap.handlers.ReferralAwareRequestHandler.handle(ReferralAwareRequestHandler.java:145) at org.apache.directory.server.ldap.handlers.ReferralAwareRequestHandler.handle(ReferralAwareRequestHandler.java:66) at org.apache.directory.server.ldap.handlers.LdapRequestHandler.messageReceived(LdapRequestHandler.java:171) at org.apache.directory.server.ldap.handlers.LdapRequestHandler.messageReceived(LdapRequestHandler.java:46) at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:141) at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:181) at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.