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

Benoit Tellier commented on JAMES-4245:
---------------------------------------

Hello,

Thanks for the report.

It's a tricky feature to implement I do not think existing contributors have it 
planned but if youwant to give it a try it would be much welcomed.

Cheers,

Benoit 

> JMAP Email/query rejects a negative position
> --------------------------------------------
>
>                 Key: JAMES-4245
>                 URL: https://issues.apache.org/jira/browse/JAMES-4245
>             Project: James Server
>          Issue Type: Bug
>          Components: JMAP
>            Reporter: Seke Kazuru
>            Assignee: Antoine Duprat
>            Priority: Major
>
> Hi,
> RFC 8620 section 5.5: "If a negative value is given, it is an offset from the 
> end of the list. Specifically, the negative value MUST be added to the total 
> number of results given the filter, and if still negative, it's clamped to 
> "0"."
> {\{Email/query}} with \{{"position": -5}} returns \{{invalidArguments}} 
> ("Negative position are not supported yet. -5 was provided."). Expected: 
> results counted from the end (an empty list and position 0 for an empty 
> mailbox).
> 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