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.
Did you re-started Alfresco?
That document with new versions was created before or after applying the change in the configuration?
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
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
Hi,
I opened issue.
Martin
Here you can find a very good explanation about versioning in Alfresco. Maybe it can help you to troubleshoot your problem.
Hope it helps
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 !
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.