03-17-2020 09:00 AM
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.
03-17-2020 10:20 AM
Did you re-started Alfresco?
That document with new versions was created before or after applying the change in the configuration?
03-17-2020 11:40 AM
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
03-17-2020 12:07 PM
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
03-17-2020 04:56 PM
Hi,
I opened issue.
Martin
10-19-2021 01:15 PM
Hi can anyone please share the defect link, stuck up with the same kind of issue.
we have the cm:versionable added as a mandatory aspect in content model.
Our customization is to create a excel in alfresco. The excel gets created, but the problem is that its always as 1.1 but has to be 1.0.
Tried the following alternatives, but no use
1) disabling the behaviour and enabling after the content is updated => nothing reflects
2) removing the versionable aspect and adding after the content is updated => Facing the exception ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] [reportQueueMLC-1] Found 1 integrity violations:Mandatory aspect not set:
3) setting the versionable to false while creating node and then setting it to true once the content is updated => cm:content property is not getting set in that node and hence the no download option available in share.
Would be helpful if the lastest status on the issue raised could be shared, thanks !
10-20-2021 03:44 AM
May you share additional information?
ACS Version, custom model using the versionable aspect would help and how are you uploading the Excel to Alfresco would help.
03-18-2020 02:46 AM
Here you can find a very good explanation about versioning in Alfresco. Maybe it can help you to troubleshoot your problem.
Hope it helps
Explore our Alfresco products with the links below. Use labels to filter content by product module.