[ 
https://issues.apache.org/jira/browse/DIRAPI-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14389118#comment-14389118
 ] 

Matt Willson commented on DIRAPI-196:
-------------------------------------

Errors may flood the log if for some reason the LDAP server contains attributes 
that have multiple duplicate values.  When this occurs there will never be any 
adverse effects in the LDAP API code because it won't ever contain the dupe 
values.  Thus the log should be a warning.

This is easily duplicated in the SearchResultEntryTest Unit Test.  If you 
change the ByteBuffer stream to include duplicate values for one attribute.

> Always throw error  ERR_04486_VALUE_ALREADY_EXISTS from 
> org.apache.directory.api.ldap.model.entry.DefaultAttribute against AD's 
> attribute dSCorePropagationData when do search operation.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRAPI-196
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-196
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M22
>            Reporter: Robert Hou
>
> When do search on ADAM, if the entry include attribute 
> "dSCorePropagationData", 
> org.apache.directory.api.ldap.model.entry.DefaultAttribute always throw error 
> "ERR_04486_VALUE_ALREADY_EXISTS ".
> "dSCorePropagationData" is one system attribute, it has mutiple values, when 
> the entry was rdn or moved, one value will be created by system.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to