I can't see how BulkDocs would handle a delete? The _deleted key isn't referenced in the class or the BulkDocsNormalizer.

Attached a screenshot of the data payload.

payload

Also $data['@context']['@language'] isn't set so ContentEntityNormalizer throws a notice as well.

CommentFileSizeAuthor
#4 2771195-3.patch2.01 KBbenjy
payload.png65.32 KBbenjy

Comments

benjy created an issue. See original summary.

benjy’s picture

The outcome of that request is 'Document update conflict'

benjy’s picture

Project: RELAXed Web Services » Replication

Moving to the right issue queue.

benjy’s picture

Status: Active » Needs review
StatusFileSize
new2.01 KB

I'm still familiarising myself with the architecture so i'm not sure if this is the right approach but something like this seems to work.

benjy’s picture

Status: Needs review » Active

Setting back to Active as I don't think the patch is committable, just wanted a bot run.

benjy’s picture

I spoke with dixon_ on IRC and he tells me that delete should work so I think this needs some more debugging as to why _deleted isn't coming through.