[
https://issues.apache.org/jira/browse/CAMEL-11117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957782#comment-15957782
]
ASF GitHub Bot commented on CAMEL-11117:
----------------------------------------
GitHub user lio-p opened a pull request:
https://github.com/apache/camel/pull/1599
CAMEL-11117: Fix searchTerm error with unseen and subjectOrBody
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lio-p/camel CAMEL-11117-FIX
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1599.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1599
----
----
> The searchTerm subjectOrBody breaks the searchTerm unseen
> ---------------------------------------------------------
>
> Key: CAMEL-11117
> URL: https://issues.apache.org/jira/browse/CAMEL-11117
> Project: Camel
> Issue Type: Bug
> Components: camel-mail
> Affects Versions: 2.18.3
> Reporter: Lionel Palacin
> Priority: Minor
>
> When the two options searchTerm.unseen and searchTerm.subjectOrBody are
> together, the searchTerm generated looks like that:
> (Unseen AND Subject) OR Body. Which is incorrect, the right searchTerm should
> be: Unseen AND (Subject OR Body).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)