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

Benoit Tellier commented on JAMES-4248:
---------------------------------------

Hello

Thanks for reporting it.

Do you want to continute a fix for it? Contribution is much welcome!

Best regards,

Benoit

> JMAP Email/set create accepts a body part whose blob does not exist
> -------------------------------------------------------------------
>
>                 Key: JAMES-4248
>                 URL: https://issues.apache.org/jira/browse/JAMES-4248
>             Project: James Server
>          Issue Type: Bug
>          Components: JMAP
>            Reporter: Seke Kazuru
>            Assignee: Antoine Duprat
>            Priority: Major
>
> Hi,
> RFC 8621 section 4.6: "An extra \{{notFound}} property of type \{{Id[]}} MUST 
> be included in the SetError object containing every \{{blobId}} referenced by 
> an EmailBodyPart that could not be found on the server."
> {\{Email/set}} create with \{{"bodyStructure": {"type": "text/plain", 
> "blobId": "pdNoSuchBlob"}}} and valid \{{mailboxIds}} creates the email. 
> Expected: \{{notCreated}} with a \{{blobNotFound}} SetError whose 
> \{{notFound}} lists \{{pdNoSuchBlob}}.
> 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