Seke Kazuru created JAMES-4248:
----------------------------------

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


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