Disable auto versioning
Hello,
In Nuxeo 5.6, I had successfully enabled auto versioning with the following parameter in nuxeo.conf :
org.nuxeo.ecm.platform.liveedit.autoversioning=minor
Then I upgraded Nuxeo to 6.0-HF05 and the auto versioning is still OK. But now, i had to disable the auto versioning and I can't do it with :
org.nuxeo.ecm.platform.liveedit.autoversioning=none.
I also tried VersioningService XP as described here. But this still don't work.
How can I disable auto versioning in Nuxeo 6.0-HF05 ?
Thanks.
HI, I would suggest you to use versioning rules so that you can disable/enable the versioning for selective documents.
Write an extension for the same to happen.
<extension target="org.nuxeo.ecm.core.versioning.VersioningService"
point="versioningRules">
<versioningRule typeName="Folder">
<initialState major="0" minor="0" />
<options lifeCycleState="*">
<none default="true" />
<minor />
<major />
</options>
</versioningRule>
<versioningRule typeName="Domain">
<initialState major="0" minor="0" />
<options lifeCycleState="*">
<none default="true" />
<minor />
<major />
</options>
</versioningRule>
<versioningRule typeName="File">
<initialState major="0" minor="0" />
<options lifeCycleState="*">
<none default="true" />
<minor />
<major />
</options>
</versioningRule>
<versioningRule typeName="Workspace">
<initialState major="0" minor="0" />
<options lifeCycleState="*">
<none default="true" />
<minor />
<major />
</options>
</versioningRule>
<versioningRule typeName="YourDocument">
<initialState major="0" minor="0" />
<options lifeCycleState="*">
<none default="true" />
<minor />
<major />
</options>
</versioningRule>
</extension>
Hope this helps. :)
Do you want to disable the autoversioning just for live edit or globally? How did you configure the versioning policy for your documents?
Is here a way to prevent that ? Or is it a bug ? Thanks.