tsgrp / OpenContent

TSG's Web Services for ECM Repositories
8 stars 4 forks source link

AlfrescoEmbContentImpl setting "autoVersion" to false for all documents created through OpenContent #70

Open benallenallen opened 8 years ago

benallenallen commented 8 years ago

For clients that plan on using the Sharepoint protocol, WebDAV, or Share to touch objects that are created in OpenContent, there appears to be a line in our code that we are explicitly telling Alfresco that we do not want a new version when content is updated:

AlfrescoEmbContentImpl#enhancedCreateObject:

nodeProps.put(ContentModel.PROP_AUTO_VERSION, false);

This is causing issues with the expected behaviour of Share/Sharepoint protocol saves since it forces everything to be checked in as the same version.

If we make this update, the above two scenarios need to be tested to see if they work and/or produce odd side effects.

If setting to true works, we need to verify: