Disabling auto-versioning in REST services

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Disabling auto-versioning in REST services

Hi,

 

I want to disable to-versioning feature in the REST service. I need to change content of document without automatic change of version.

I use this guide - https://docs.alfresco.com/community/tasks/autoversion-disable.html to disable it.

In alfresco-global.properties - version.store.enableAutoVersioning=false

I use this REST endpoint /versions/1/nodes/{nodeId}/content 

BUT, I doesn't work. I have a many of new versions od document.

Any advice to solve this problem?

Thank you.

Martin

 

BUT it doesn't work.

 

5 Replies
Highlighted
Alfresco Employee

Re: Disabling auto-versioning in REST services

Did you re-started Alfresco?

That document with new versions was created before or after applying the change in the configuration?

Software Engineer in Alfresco Search Team.
Highlighted
Member II

Re: Disabling auto-versioning in REST services

Hi,

I restarted tomcat server (a lot of times.. ;o)))

I tried to create a new document (a lot of times... ;o))))

Unfortunately I do not know where is the problem..... ;o/

 

Thank you

Martin 

Highlighted
Alfresco Employee

Re: Disabling auto-versioning in REST services

Sorry, you're right.

I've made a short test and that doesn't work at all.

You can open an issue for that in https://issues.alfresco.com

Software Engineer in Alfresco Search Team.
Highlighted
Member II

Re: Disabling auto-versioning in REST services

Hi,

I opened issue.

Martin

Highlighted
Established Member II

Re: Disabling auto-versioning in REST services

Here you can find a very good explanation about versioning in Alfresco. Maybe it can help you to troubleshoot your problem.

Hope it helps