[
https://issues.apache.org/jira/browse/FC-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204759#comment-14204759
]
Shawn McKinney commented on FC-47:
----------------------------------
This resolved the issue:
Entry myEntry = new DefaultEntry( nodeDn,
GlobalIds.OBJECT_CLASS, ORGUNIT_CLASS,
GlobalIds.OU, oe.getName(),
GlobalIds.DESC, oe.getDescription() );
> OrganizationalUnitDao create attribute syntax violation
> -------------------------------------------------------
>
> Key: FC-47
> URL: https://issues.apache.org/jira/browse/FC-47
> Project: FORTRESS-CORE
> Issue Type: Bug
> Affects Versions: 1.0.0-RC39
> Reporter: Shawn McKinney
> Fix For: 1.0.0-RC40
>
>
> When executing this code:
> Entry myEntry = new DefaultEntry( nodeDn,
> GlobalIds.OBJECT_CLASS, ORGUNIT_OBJ_CLASS,
> GlobalIds.OU, oe.getName(),
> GlobalIds.DESC, oe.getDescription() );
> the following error:
> org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException:
> ERR_12086 The Attribute value #1 must be a String or a byte[]
> The value for entity:
> OrganizationalUnit[Client123, Client 123 test context, null, ]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)