AnsweredAssumed Answered

Versioning via JCR 170

Question asked by sisao on Oct 21, 2008
Latest reply on Oct 21, 2008 by sisao
hi all,

i'm trying to get the checkin() and checkout() methods of the Node library work with the alfresco repository…they have no effect on my code, neither they cause exceptions of any kind.
https://issues.alfresco.com/jira/browse/AR-659 is not working to me…

i tried the mynode.addMixin("mix:versionable) method but it has no effect….i relly cant understand how to use cm:versionable as stated in the issue i've linked.
I've tried to build up a checkin and checkout algorithm by myself but i cant even have a node marked as "lockable" in order to set the proeprty cm:lockType with the value "READ_ONLY_LOCK", then clone the node for checkout and merge for checkin.

i have a real need of not use the alfresco API such as CMLs under org.alfresco.webservice.repository.types…

What i've noticed is that even though i cant have my nodes marked as versionable/locakble, the alfresco webclient let me chekout those nodes anyway…is actually the versionable property a default statement for alfresco nodes?
In this case i still nedd to solve the locking issue…

Any help appreciated,
regards.

Outcomes