You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Juanlu Hidalgo (JIRA)" <ji...@apache.org> on 2010/06/10 19:58:15 UTC
[jira] Created: (DIRAPI-17) Problem when we do a search with a
filter with "*" in the start or in the end of a expression with wildcards
chars like for example filter (uid=*se*).
Problem when we do a search with a filter with "*" in the start or in the end of a expression with wildcards chars like for example filter (uid=*se*).
------------------------------------------------------------------------------------------------------------------------------------------------------
Key: DIRAPI-17
URL: https://issues.apache.org/jira/browse/DIRAPI-17
Project: Directory client API
Issue Type: Bug
Reporter: Juanlu Hidalgo
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRAPI-17) Problem when we do a search with a
filter with "*" in the start or in the end of a expression with wildcards
chars like for example filter (uid=*se*).
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRAPI-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRAPI-17.
-------------------------------------
Resolution: Fixed
Fixed in trunk with http://svn.apache.org/viewvc?rev=955090&view=rev.
Will be in 0.2.0 release.
> Problem when we do a search with a filter with "*" in the start or in the end of a expression with wildcards chars like for example filter (uid=*se*).
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRAPI-17
> URL: https://issues.apache.org/jira/browse/DIRAPI-17
> Project: Directory client API
> Issue Type: Bug
> Affects Versions: 0.1.0
> Reporter: Juanlu Hidalgo
> Assignee: Emmanuel Lecharny
> Fix For: 0.2.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRAPI-17) Problem when we do a search with a
filter with "*" in the start or in the end of a expression with wildcards
chars like for example filter (uid=*se*).
Posted by "Juanlu Hidalgo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRAPI-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877509#action_12877509 ]
Juanlu Hidalgo commented on DIRAPI-17:
--------------------------------------
This is the error:
Caused by: java.lang.NullPointerException
at org.apache.directory.shared.ldap.codec.search.SubstringFilter.encode(SubstringFilter.java:306)
at org.apache.directory.shared.ldap.codec.search.ConnectorFilter.encode(ConnectorFilter.java:144)
at org.apache.directory.shared.ldap.codec.search.AndFilter.encode(AndFilter.java:120)
at org.apache.directory.shared.ldap.codec.search.SearchRequestCodec.encodeProtocolOp(SearchRequestCodec.java:583)
at org.apache.directory.shared.ldap.codec.LdapMessageCodec.encode(LdapMessageCodec.java:386)
at org.apache.directory.ldap.client.api.protocol.LdapProtocolEncoder.encode(LdapProtocolEncoder.java:51)
at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:298)
On the other hand when we do the search in Apache Directory Studio the filter works fine.
> Problem when we do a search with a filter with "*" in the start or in the end of a expression with wildcards chars like for example filter (uid=*se*).
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRAPI-17
> URL: https://issues.apache.org/jira/browse/DIRAPI-17
> Project: Directory client API
> Issue Type: Bug
> Reporter: Juanlu Hidalgo
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRAPI-17) Problem when we do a search with a
filter with "*" in the start or in the end of a expression with wildcards
chars like for example filter (uid=*se*).
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRAPI-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879176#action_12879176 ]
Emmanuel Lecharny commented on DIRAPI-17:
-----------------------------------------
I confirm the error. The filter is badly encoded.
> Problem when we do a search with a filter with "*" in the start or in the end of a expression with wildcards chars like for example filter (uid=*se*).
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRAPI-17
> URL: https://issues.apache.org/jira/browse/DIRAPI-17
> Project: Directory client API
> Issue Type: Bug
> Affects Versions: 0.1.0
> Reporter: Juanlu Hidalgo
> Assignee: Emmanuel Lecharny
> Fix For: 0.2.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRAPI-17) Problem when we do a search with a
filter with "*" in the start or in the end of a expression with wildcards
chars like for example filter (uid=*se*).
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRAPI-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRAPI-17:
------------------------------------
Fix Version/s: 0.2.0
Affects Version/s: 0.1.0
> Problem when we do a search with a filter with "*" in the start or in the end of a expression with wildcards chars like for example filter (uid=*se*).
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRAPI-17
> URL: https://issues.apache.org/jira/browse/DIRAPI-17
> Project: Directory client API
> Issue Type: Bug
> Affects Versions: 0.1.0
> Reporter: Juanlu Hidalgo
> Fix For: 0.2.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (DIRAPI-17) Problem when we do a search with a
filter with "*" in the start or in the end of a expression with wildcards
chars like for example filter (uid=*se*).
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRAPI-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny reassigned DIRAPI-17:
---------------------------------------
Assignee: Emmanuel Lecharny
> Problem when we do a search with a filter with "*" in the start or in the end of a expression with wildcards chars like for example filter (uid=*se*).
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRAPI-17
> URL: https://issues.apache.org/jira/browse/DIRAPI-17
> Project: Directory client API
> Issue Type: Bug
> Affects Versions: 0.1.0
> Reporter: Juanlu Hidalgo
> Assignee: Emmanuel Lecharny
> Fix For: 0.2.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRAPI-17) Problem when we do a search with a
filter with "*" in the start or in the end of a expression with wildcards
chars like for example filter (uid=*se*).
Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRAPI-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Ayyagari closed DIRAPI-17.
--------------------------------
> Problem when we do a search with a filter with "*" in the start or in the end of a expression with wildcards chars like for example filter (uid=*se*).
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRAPI-17
> URL: https://issues.apache.org/jira/browse/DIRAPI-17
> Project: Directory client API
> Issue Type: Bug
> Affects Versions: 0.1.0
> Reporter: Juanlu Hidalgo
> Assignee: Emmanuel Lecharny
> Fix For: 0.2.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.