Disabling auto-versioning at online editing

cancel
Showing results for 
Search instead for 
Did you mean: 
mvlcek
Active Member

Disabling auto-versioning at online editing

Hi, I want to disable auto-versioning feature while online edit document, for example online edit txt document or when I updating content via online edit in MS Office.

I try to disable this feature by: https://docs.alfresco.com/4.0/tasks/autoversion-disable.html

in alfresco-global.properties and reporitory.properties

nothing from these not working:

version.store.initialVersion = false
version.store.enableAutoVersioning = false
version.store.enableAutoVersionOnUpdateProps = false

Any advice to solve this problem?

Thanks for advice.

4 Replies
Community Manager
Community Manager

Re: Disabling auto-versioning at online editing

Have you tried this on a new document or just a document that was previously versioned?

mvlcek
Active Member

Re: Disabling auto-versioning at online editing

Yes, I tried with new file after these settings:

version.store.initialVersion = false
version.store.enableAutoVersioning = false
version.store.enableAutoVersionOnUpdateProps = false

and also with files uploaded before this settings.

Behaviour is still same.

Community Manager
Community Manager

Re: Disabling auto-versioning at online editing

You have restarted Alfresco since the changes, correct?

Moderator
Moderator

Re: Disabling auto-versioning at online editing

This property should do the job: 

 

version.store.enableAutoVersioning=false

Please remove the leading and trailing spaces after = if you have it. I see all these properties has a space char after = 

 

version.store.initialVersion = false
version.store.enableAutoVersioning = false
version.store.enableAutoVersionOnUpdateProps = false

They should be:

version.store.initialVersion =false
version.store.enableAutoVersioning =false
version.store.enableAutoVersionOnUpdateProps =false

Make sure to restart tomcat after making properties file changes as suggested by @jljwoznica 

Note that, if you already have a file which has autoversions then they will continue to get auto version on edit. Try new files after making property file changes. Or else remove cm:autoVersion, cm:initialVersion properties from existing files or reset the values to false:

cm:autoVersion=false
cm:initialVersion=false