james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laura Royet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAILBOX-280) String FilterCondition in getMessageList request should work correctly when including white-spaces or hyphens
Date Mon, 05 Dec 2016 14:46:58 GMT
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


Mime
View raw message