james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2041) JMAP getMessages method should not fail on individual failures
Date Fri, 02 Jun 2017 13:04:04 GMT

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

Tellier Benoit commented on JAMES-2041:
---------------------------------------

https://github.com/linagora/james-project/pull/821 solved the issue with log and ignore.

JMAP spec currently lack the possibility to report individual failure, so for no we swallow
the error. We might try to contribute some specification changes about this.

> JMAP getMessages method should not fail on individual failures
> --------------------------------------------------------------
>
>                 Key: JAMES-2041
>                 URL: https://issues.apache.org/jira/browse/JAMES-2041
>             Project: James Server
>          Issue Type: Bug
>          Components: JMAP
>    Affects Versions: master
>            Reporter: Tellier Benoit
>            Assignee: Antoine Duprat
>             Fix For: master
>
>
> Today a single error on a message will lead to skipping the entire answer.
> Our throwing functions should catch ALL errors and not skip messages. Log the error and
skip.
> Faulty method is this one:
> GetMessagesMethod::getMessagesResponse
> Note: the current implementation denies a user to see his mail if there is a single faulty
message.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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