When you create (two-way synched) nodes with "empty" bodies, 404-errors are thrown preventing cron from completing the full cycle.

The error message snippet returned by Alfresco/CMIS: /alfresco/service/cmis/s/workspace:SpacesStore/i/{SOMENODEREF}/content has responded with a status of 404 - Not Found.

AFAIS updating the node (even with empty body), solves this problem - but I am not sure whether "having no content" should be allowed (i.e. if a contentStream should always be created) - tiny patch attached, that catches the exception and also passes HTTP Response code on.

CommentFileSizeAuthor
cmis_sync_empty_body.patch2.1 KBfrega

Comments

cbalan’s picture

Status: Active » Fixed

Applied patch in http://drupal.org/cvs?commit=346026
Closing this issue.

Thank you,
Catalin Balan

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.