Seke Kazuru created JAMES-4252:
----------------------------------

             Summary: JMAP Email/query: an empty FilterCondition matches nothing
                 Key: JAMES-4252
                 URL: https://issues.apache.org/jira/browse/JAMES-4252
             Project: James Server
          Issue Type: Bug
          Components: JMAP
            Reporter: Seke Kazuru
            Assignee: Antoine Duprat


Hi,

RFC 8621 section 4.4.1: "If zero properties are specified on the 
FilterCondition, the condition MUST always evaluate to true."

With one email in a mailbox, \{{{"inMailbox": "<id>"}}} returns it, but 
\{{{"operator": "AND", "conditions": [{"inMailbox": "<id>"}, {}]}}} returns no 
ids. Expected: the email.

James 3.9.1, memory image (\{{apache/james:memory-3.9.1}}), default 
configuration, one user. JMAP requests POSTed to \{{/jmap}} with core and mail 
capabilities.

Thanks.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to