You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Laura Royet (JIRA)" <ji...@apache.org> on 2016/12/05 14:46:58 UTC
[jira] [Created] (MAILBOX-280) String FilterCondition in
getMessageList request should work correctly when including white-spaces or
hyphens
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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org