Laura Royet created MAILBOX-280:
-----------------------------------

             Summary: String FilterCondition in getMessageList request should 
work correctly when including white-spaces or hyphens
                 Key: MAILBOX-280
                 URL: https://issues.apache.org/jira/browse/MAILBOX-280
             Project: James Mailbox
          Issue Type: Bug
            Reporter: Laura Royet


When making a getMessageList request with a String FilterCondition containing a 
white-space or an hyphen, the integration test becomes green even with wrong 
ending word.

Examples:
When the email contains "Openpaas-Linagora"
a filtering on "Openpaassssss-Linagora"in the property "text" of 
FilterCondition is matching. It is the same for "Openpaas-Linagoraaaaaaa"

When the email contains "Test body"
a filtering on "Testyyy body"in the property "body" of FilterCondition is 
matching. It is the same for "Testy bodyyyyy"

Can be reproduce respectivly in tests 
"messageWithComplicatedAttachmentShouldHaveItsEmailBodyIndexed()" and 
"messageWithComplicatedAttachmentShouldNotHaveItsAttachmentIndexed()" in 
"SetMessagesMethodTest.java" in "package 
org.apache.james.jmap.methods.integration"



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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to