james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Duprat (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2385) $Draft checks should rely on JMAP flags view
Date Tue, 24 Apr 2018 07:30:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449425#comment-16449425
] 

Antoine Duprat commented on JAMES-2385:
---------------------------------------

akka or aka ;)

> $Draft checks should rely on JMAP flags view
> --------------------------------------------
>
>                 Key: JAMES-2385
>                 URL: https://issues.apache.org/jira/browse/JAMES-2385
>             Project: James Server
>          Issue Type: Improvement
>          Components: JMAP
>            Reporter: Tellier Benoit
>            Assignee: Antoine Duprat
>            Priority: Major
>
> When moving a message to outbox (akka sending), SetMessageUpdate performs a check: "Is
the message marked with $Draft"?
> Due to possible multiple mailbox contexts, we have to combine the flags together to answer
that question. Nowadays, SetMessageUpdate perform custom logic, not related to other JMAP
views and components.
> This makes code fragile: If keyword combination is changed elsewhere (eg GetMessages)
then I might not be able to move some Draft messages to Outbox (because I might forgot to
change the SetMessageUpdate).
> We need to remove that coupling.
> Keyword reduction in SetMessageUpdate needs to rely on *KeywordsCombiner*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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