no new version on 5.2 created documents, 6.1.1 works (cmis/webdav)
we upgrade our Alfresco from 5.2 to 6.1.1.
To upgrade PDF's we use the python cmis client, which work fine on new created documents in 6.1.1.
As soon we try to update a document which was created in 5.2 only the current version is updated.
Any idea how I can force to create a new major version with setContentStream?
query = "select * from cmis:document where cmis:name like '%%Drawing %s.%%' and IN_TREE('%s')" % (artnr, SITE_ID)
In 6.1.1 created document:
newdoc: <cmislib.model.Document object at 0x7ff7c30de390>
newdoc: <cmislib.model.Document object at 0x7fd19c098390>
In 5.2 created document:
newdoc: <cmislib.model.Document object at 0x7ff7c30de610>
newdoc: <cmislib.model.Document object at 0x7fd19c098610>
f = open(path, 'rb')
newdoc = result.setContentStream (f)