Issue #471 has been updated by David Coutadeur.
This is strange too... I had the error with both the CDATA and the escape sequence. As Clement said, the problem is probably not appearing in core trunk, because the component which is doing the job (transformFilter) is not the same (apacheds-all.jar) in v2.0 / core trunk. ---------------------------------------- Bug #471: substring search in <getAllFilter> is not working in v2.0 http://tools.lsc-project.org/issues/471 Author: David Coutadeur Status: New Priority: Normal Assigned to: Category: Core Target version: 2.0 Problem in version: A search like <getAllFilter><![CDATA[(myattribute=abc*)]]></getAllFilter> is not properly evaluated and cause a bug in apacheds-all.jar. More precisely in org.apache.directory.shared.ldap.codec.* Here are some elements for debuging: line 1217 in LdapConnection: ExprNode filterNode = FilterParser.parse( searchRequest.getFilter() ); filter = LdapTransformer.transformFilter( filterNode ); The filterNode seems correctly evaluated, but the LdapTransformer.transformFilter produces a filter that does not seem correct. Indeed, inside filter, we can see : initialSubstring: abc, but there is no reference to "myattribute" in it. As a result, the line 1457 in LdapConnection: WriteFuture writeFuture = ldapSession.write( request ); fails with no request in the ldap. - The transformFilter operation is in an external library: apacheds-all-1.5.7. Maybe an upgrade to 2.0 could solve the bug. - This issue could be related to the same problem : https://issues.apache.org/jira/browse/DIRAPI-17 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-dev mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-dev

