[ https://issues.apache.org/jira/browse/JAMES-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier resolved JAMES-3182. ----------------------------------- Fix Version/s: 3.6.0 Resolution: Fixed https://github.com/linagora/james-project/pull/3413 explicitly reject nested mailbox filters, and also defines a limit in filter depth. > Fetching message in getMessageList ignore inMailbox filter when in a > combination of filter > ------------------------------------------------------------------------------------------ > > Key: JAMES-3182 > URL: https://issues.apache.org/jira/browse/JAMES-3182 > Project: James Server > Issue Type: Test > Components: JMAP > Affects Versions: 3.6.0 > Reporter: Rémi Kowalski > Assignee: Antoine Duprat > Priority: Major > Fix For: 3.6.0 > > > The inMailbox, notInMailbox filters are ignored when they are placed in a > combination of filter. > The reason is : > * Mailboxes the query is run against are resolved against cassandra before > being pushed to the search index. > * The bit of code handling this conversion only take into consideration TOP > LEVEL liters and not those wrapped by some FilterOperatrs (AND, OR, NOT) > for more context see #3180: > [https://github.com/linagora/james-project/pull/3374] > DOD : > make > {color:#00627a}`GetMessageListMethodTest.getMessageListShouldFetchUnreadMessagesInMailboxUsingACombinationOfFilter` > > pass and add test to ensure the notInMailbox filter is handled as well. > > > create some other tests with nested mailbox filters > {color} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org