Hi All, I am trying to add tag NodeRef.addTag("tag") NodeRef. move(destination)
But get an exception, seems like a transaction issue.
Error I get is org.alfresco.service.cmr.version.VersionServiceException: 04120024 The current version label of the node does not exist in the version history."
Are you trying to create your own webscript to add tags on a node? There is already an out-of-the-box webscript available to add tag on a node. Take a look at - node.tags.post.desc.xml in order to understand its usage available at tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\tagging location. Hope this helps.
Its a custom REST service, whicha llows users to delte items, which does nto actually deletes anything it moves file to another location prefix its name with timestamp, and add tag denoteing its deleted (Action).