[ 
https://issues.apache.org/jira/browse/IMAP-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913113#action_12913113
 ] 

Norman Maurer commented on IMAP-210:
------------------------------------

Hi,

I had a look at the issue. Its really a pita to get this fixed. I will try to 
come up with a solution for it the next days. But its harder as it seems on the 
first look

> MailboxQuery ignore namespace
> -----------------------------
>
>                 Key: IMAP-210
>                 URL: https://issues.apache.org/jira/browse/IMAP-210
>             Project: JAMES Imap
>          Issue Type: Bug
>         Environment: Linux, JDK 1.6
>            Reporter: François-Denis Gonthier
>            Assignee: Norman Maurer
>             Fix For: 0.2
>
>
> MailboxQuery doesn't pay any attention to namespace of the mailbox it is 
> based on. For example, Mozilla Thunderbird might to mailbox search with 
> expressions like #private.%. That expression is passed directly to the 
> isExpressionMatch method of the MailboxQuery class. This has obviously 
> incorrect results.
> Arguments to the isExpressionMatch method should be parsed to separate the 
> namespace from the mailbox name or isExpressionMatch should do the parsing 
> itself. In that case the argument name should be renamed to something like 
> 'searchExpression' instead of 'name' which doesn't convey the right meaning.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to