07-28-2015 06:52 AM
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.
07-28-2015 09:29 AM
Hi,
07-28-2015 11:36 PM
Hello,
07-29-2015 08:16 AM
If you did not modify the versioning policy, there should not be auto versioning in your instance, that's the default behavior.
07-30-2015 12:35 AM
Well, I don't use "VersioningRule" in my bundles and I just modified "liveedit.autoversioning" parameter in nuxeo.conf.
09-02-2015 04:01 AM
Hello,
03-15-2016 05:27 AM
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. 🙂
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.